php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29154 Exif extension not loading with PHP 5
Submitted: 2004-07-14 16:22 UTC Modified: 2005-02-01 22:58 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: scm2tj at cs dot cf dot ac dot uk Assigned:
Status: Closed Package: EXIF related
PHP Version: 5.0.0 OS: W2K
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 - 14 = ?
Subscribe to this entry?

 
 [2004-07-14 16:22 UTC] scm2tj at cs dot cf dot ac dot uk
Description:
------------
With the exif extension permitted in the php.ini file, a reboot of Apache 2 gives an error stating
Cannot load C:/PHP/ext/php_exif.dll into server. The specified module could not be found

PHP 4 worked fine, but 5 RC3 and 5.0.0 don't (I didn't try earlier versions).

Needless to say, other extensions I've permitted have worked fine, so it's not a problem with my php.ini file


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-14 17:42 UTC] christian at wenz dot org
might be the same as http://bugs.php.net/bug.php?id=29028 (however the "resolution" there does not state which extra libraries are the ones missing). 
Can reproduce on two IIS servers on Win XP, as well, so it may be a general problem on Windows. 
Maybe also related to http://bugs.php.net/bug.php?id=29131 (?)
 [2004-07-14 21:14 UTC] helly@php.net
If you're sure that you have downloaded the exif dll into the right place check if you also enabled module mbstring.
 [2004-07-15 03:30 UTC] scm2tj at cs dot cf dot ac dot uk
Enabling mbstring didn't help, for some reason it caused Apache to stop working completely. It didn't give any error messages, but wouldn't accept any request unless it was restarted with the mbstring module in the php.ini disabled.

I also tried moving the dll files to the winnt\system32 directory, but that didn't help. I also put the PHP\ext directory in the PATH, and that did nothing either.

I'm using the gd2, sockets, and gettext libraries without any problems, and I'm 100% all the files are in the correct place.
 [2004-07-18 20:08 UTC] me at localhost dot de
To enable exif support in Windows, php_mbstring.dll must be loaded prior to php_exif.dll in php.ini.
 [2004-07-19 00:59 UTC] scm2tj at cs dot cf dot ac dot uk
That worked, cheers. You'd think for known cases like that they'd sort the order out in the php.ini file. Thanks again
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC