php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46766 Unable to load PHP with php_exif.dll and php_mbstring.dll
Submitted: 2008-12-05 15:13 UTC Modified: 2015-03-29 01:42 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: alexander dot ashurkov at gmail dot com Assigned: kalle (profile)
Status: Closed Package: Dynamic loading
PHP Version: 5.2.7 OS: Windows XP SP3
Private report: No CVE-ID: None
 [2008-12-05 15:13 UTC] alexander dot ashurkov at gmail dot com
Description:
------------
PHP engine is unable to load php_exif and php_mbstrings extensions.

Reproduce code:
---------------
part of php.ini (default modules order):

extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
extension=php_zip.dll


Expected result:
----------------
php_exif and php_mbstrings extension to be loadable and usuable

Actual result:
--------------
Using PHP in CLI or as Apache module I got error messages about libraries cannot be loaded or found.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-05 15:14 UTC] alexander dot ashurkov at gmail dot com
To fix this, just put "extension=php_mbstring.dll" line before "extension=php_exif.dll".
 [2008-12-05 15:20 UTC] pajoye@php.net
not a bug, known requirements. exif relies on mbstring. Is it correctly documented?
 [2008-12-05 15:29 UTC] alexander dot ashurkov at gmail dot com
On Installing/Configuring page (http://ru2.php.net/manual/en/exif.setup.php) only info about mbstring module must be enabled, no word about modules order.
 [2008-12-05 15:36 UTC] philip@php.net
If you feel this should be reworded, please suggest it, but it is in the documentation under "installation" not "requirements"

http://php.net/manual/en/exif.installation.php
 [2008-12-05 16:02 UTC] alexander dot ashurkov at gmail dot com
No, current documenation is OK :)
Can you just re-order these modules in default windows php.ini, so questions like mine one never pops up.


---
I should always read the manual, I should ...
 [2008-12-05 16:43 UTC] philip@php.net
Tricky issue, because that list is alphabetical for a reason and I would think this issue affects a minority of people so this change to php.ini would be a little weird. 

Do you have another suggestion? Maybe a small note above that DLL list in php.ini?

Note: The PHP for Windows installer does take it into account. 
 [2008-12-05 16:49 UTC] pajoye@php.net
is it not possible to simply put a note in the manual in the exif install section? 
 [2008-12-05 16:53 UTC] philip@php.net
As demonstrated above, there already is.
 [2008-12-05 17:33 UTC] pajoye@php.net
Ah got the other mail later. So let add a note in php.ini then, so lazy user :) can find the info without reading the manual.
 [2010-12-20 12:10 UTC] jani@php.net
-Package: Tidy +Package: Dynamic loading
 [2015-03-29 01:42 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2015-03-29 01:42 UTC] kalle@php.net
This was fixed a while ago, I think it was in 5.3 or so
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 18:01:28 2024 UTC