php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52597 exif is placed before mbstring in php.ini
Submitted: 2010-08-13 07:17 UTC Modified: 2010-08-16 02:27 UTC
From: kkryukov at gmail dot com Assigned: kalle (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 5.3.3 OS: Windows Vista 64-bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kkryukov at gmail dot com
New email:
PHP Version: OS:

 

 [2010-08-13 07:17 UTC] kkryukov at gmail dot com
Description:
------------
php_exif.dll extension can't be loaded, because it depends on php_mbstring.dll. Just uncomminting the corresponding php.ini lines to load both extensions does not work, because in php.ini php_exif.dll is listed earlier than php_mbstring.dll.

Simply moving the line that loads php_mbstring.dll before php_exif.dll solves the problem.

This affects Windows zip distributions:

php-5.3.3-Win32-VC9-x86.zip
php-5.3.3-Win32-VC6-x86.zip

(Both "php.ini-development" and "php.ini-production" are affected).

I could find that this bug was reported multiple times before: #29919, #32552, #32541, #43970.

Also #43606 might be related.

The impact of this bug: Simply unpacking the PHP zip package on windows and enabling the exif and mbstring extensions does NOT work. Instead it takes half a day of digging through docs and searching internet to find that the order of extensions in php.ini has to be changed. I hope it's easy to fix, and I'm puzzled why this problem is still present after being reported so many times before.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-16 02:27 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2010-08-16 02:27 UTC] kalle@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in 5.2.15, 5.3.4 and trunk
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 19:01:30 2024 UTC