Hi,
I’m on a windows server. How do I edit the php.ini to enable EXIF (extra data embedded in image files), and the GD image library?
I have uncommented the following lines:
extension=php_exif.dll
extension=php_gd2.dll
But when I try to visit the site it hangs. Are there more lines that need to be uncommented, or are they the wrong ones.
Thanks,
-Andrew
You need to make sure the paths are correct, to the extension directory, c:\php\extensions
For enabling exif:
Windows users must enable both the php_mbstring.dll and php_exif.dll DLL’s in php.ini. The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly.
From: PHP Manual: Exif Functions?
this info is all quite old (on this thread) even the php paths have changed since then.