[PHP] Re: function only available if PHP4 compiled using --enable-exif

2004-02-07 Thread Ben Ramsey
If you're on Windows, you should see a file by the name of php_exif.dll 
in your PHP\extensions directory.  It should've come with the 
distribution.  Depending on the way your php.ini file is set up, you may 
either leave this file in its current location, or you may need to copy 
it to your windows\system32 folder.  (I have extension_dir in my php.ini 
file set to c:\PHP\extensions\ so I left the file in that directory.)

After checking that, remove the semi-colon (;) from the line before 
extension=php_exif.dll in the list of extensions in the php.ini file. 
Then, restart IIS.

The extension should now work, and you didn't have to recompile anything.

-Ben

Paul Furman wrote:
Does this mean I need to recompile from source code?
(seems an extreme measure to me but what do I know)
Is that difficult to do on a windows machine? I see it in some phpinfo's 
out there like this: http://www.php.net/~jimw/info.php but that's not in 
mine or at school or most hosting companies I'd guess. I'm running 4.3.4

for this function: exif_read_data()
http://us2.php.net/manual/en/function.exif-read-data.php
Note: This function is only available in PHP 4 compiled using 
--enable-exif...

Since PHP 4.3 user comment can automatically change encoding if PHP 4 
was compiled using --enable-mbstring.

This function does not require the GD image library.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: function only available if PHP4 compiled using --enable-exif

2004-02-07 Thread Paul Furman
Thanks. I could have sworn I searched php.ini for exif. I had to do both 
of the below to make it work.

Ben Ramsey wrote:

php.ini 
[extension_dir = c:\PHP\extensions]

[uncomment] 
extension=php_exif.dll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php