php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #42478 php_mbstring.dll before php_exif.dll problem back again!
Submitted: 2007-08-30 02:45 UTC Modified: 2018-05-08 16:03 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: andy at haveland dot com Assigned: cmb (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 5.2.3 OS: Windows x64
Private report: No CVE-ID: None
 [2007-08-30 02:45 UTC] andy at haveland dot com
Description:
------------
When upgrading from the php-5.2.3-Win32.zip and after checking and migrating php.ini from php.ini-dist.txt this error reappears:

PHP Startup: Unable to load dynamic library './ext\php_exif.dll' - The specified module could not be found.

The solution (hack) is to put php_mbstring.dll before php_exif.dll, and make sure that this is the case (perhaps with a mention) in php.ini-dist and php.ini-recommended and NOT to just sort the list of extensions without due regard to dependencies!

The error message is also very confusing - all other modules loaded successfully from the ext dir implying that php_exif.dll can't be found even when it is also in the same dir.

The init routine should ideally collect all the enabled modules, check dependencies and then report an error if not satisfied, and actually mention which is the *real* module that couldn't be found.

Also, in the ini files, extension_dir = "./ext" should be default, to match the path in the distribution package.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:00 UTC] jani@php.net
-Package: Feature/Change Request +Package: Windows Installer
 [2015-06-09 16:15 UTC] cmb@php.net
-Package: Windows Installer +Package: *Configuration Issues
 [2015-06-09 16:15 UTC] cmb@php.net
> The solution (hack) is to put php_mbstring.dll before
> php_exif.dll, and make sure that this is the case (perhaps with
> a mention) in php.ini-dist and php.ini-recommended and NOT to
> just sort the list of extensions without due regard to
> dependencies!

This is done so in recent PHP distributions.
 [2018-05-08 16:03 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-05-08 16:03 UTC] cmb@php.net
> This is done so in recent PHP distributions.

So this ticket can be closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC