Click to See Complete Forum and Search --> : How to compile PHP under WINDOWS???
I have to use function :
read_exif_data()
This function is only available in PHP 4 compiled using --enable-exif
I have PHP 4.0.6 under Windows 2000 and it is loaded as a module... how to compile it with this parameter???
The easies way is to instal Omni HTTPD server.
You can download it from here.
http://www.omnicron.ab.ca/httpd/download.html
mithril
10-23-2001, 07:24 AM
Actually....... the easiest way is just to:
1. Make sure you have the php extensions (php_exif.dll in your case). If you installed using the Win32 installer from php.net, you'll need to go back and grab the zip package to get the extensions.
2. Make sure the extension_dir directive in php.ini is pointing at the directory which contains the php_*.dll files.
3. Uncomment (remove the semi-colon) the following line, also in php.ini:
extension=php_exif.dll
4. Restart your web server.
Exif is now supported on your machine. To enable other extension modules, like GD, just repeat the procedure. No need for anything as drastic as changing your webserver..... gad, what a pain in the arse that'd be:)
-geoff
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.