NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Fatal error: Call to undefined function exif_read_data()


Joined: 19 Feb 2021
Posts: 1
Reply with quote
I am running PHPED 19.1 (build 19102) Professional. In my code I have reference to exif_read_data(), which is returning the Fatal error you see in the subject. I have verified that the version of PHP being executed is 53 - 5.6, that the C:\Program Files(x86)\nusphere\Phped\php53\extensions folder has the necessary DLLS

nusphere/phped/php5/extensions/php_exif.dll
nusphere/phped/php5/extensions/php_mbstring.dll
nusphere/phped/php53/extensions/php_exif.dll
nusphere/phped/php53/extensions/php_mbstring.dll
nusphere/phped/php56/extensions/php_exif.dll
nusphere/phped/php56/extensions/php_mbstring.dll
nusphere/phped/php72/extensions/php_exif.dll
nusphere/phped/php72/extensions/php_mbstring.dll

and I've uncommented those two required lines in the php.ini file (in the php53 directory)

extension=php_mbstring.dll
extension=php_exif.dll ; Must be after mbstring as it depends on it

This error persists although I have completely shutdown and restarted the app several times.

I've also verified that this is the version of PHP run by the IDE.

Can you help me understand why I would get this error, and what I can do about it? Thanks!
View user's profileFind all posts by deloveladySend private message


Joined: 30 May 2006
Posts: 92
Reply with quote
You are not providing enough information - e.g.:

- Is the PHP script executed in command line (e.g. CRON) or http mode ?

Uncommenting those two lines does NOT mean that extensions are truly loaded.

- Did you check phpinfo() output for HTTP mode or > php -i output for CLI mode - to verify what PHP modules are loaded?
- Did you check error logs for web server or windows logs? (control panel -> admin tools -> event viewer -> windows logs -> application)

Also see here:
https://stackoverflow.com/questions/8954964/how-to-set-error-log-for-php-cli/30823469#30823469
View user's profileFind all posts by lubosdzSend private message
Fatal error: Call to undefined function exif_read_data()
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic