• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How do i enable exif extension for php5.

W

webconcern

Guest
I'm running php5 as isapi extension.
I have uncommented the exif lines on both php.ini files in windows and plesk directories.
I confirmed that the php_exif.dll file exists in all related directories.
I have restarted the server for many times.
It does not seem to recognise exif functions.

Fatal error: Call to undefined function exif_imagetype() in ....

I have to use this extension. Any help appreciated...
 
Hi,

Which php.ini file you edited ?

By default php.ini for php 5 located in %plesk_dir%\Additional\PleskPHP5, where %plesk_dir% - Plesk installation directory.

Also you can check which php.ini file is used for site using phpinfo() function and browse php file (i think you know this).

Check if php_exif.dll is loaded with "tasklist /m php_exif.dll"

Look for errors from php in event log.
 
Back
Top