|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39913 Installer does not work on x64
Submitted: 2006-12-20 21:13 UTC Modified: 2008-08-22 18:05 UTC
From: torsten at vip dot cybercity dot dk Assigned: jmertic (profile)
Status: Closed Package: Windows Installer
PHP Version: 5.2.0 OS: Windows XP Professional x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: torsten at vip dot cybercity dot dk
New email:
PHP Version: OS:


 [2006-12-20 21:13 UTC] torsten at vip dot cybercity dot dk
When installing on x64, the default install path is \Program Files (x86)\PHP. After installation, PHP fails with a syntax error because the value of "extension_dir" is not quoted.

Uninstall and reinstall, being careful to select "D:\Program Files\PHP" as install path. When you get to the "Choose Items to Install" screen, the path still appears as "\Program Files (x86)\PHP". Click Browse, navigate to "\Program Files\PHP". The dialog still shows the "(x86)" path, and indeed the installation is performed to that path.

Moved installation to desired path, hacked the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP\InstallDir. When invoking php.exe from the command line, I get

PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\Program Files\PHP\
ext\php_exif.dll' - The specified module could not be found.
 in Unknown on line 0

etc., although the file is there.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-20 21:29 UTC]
mbstring extension is required by exif, see more information here:
 [2006-12-20 21:55 UTC] judas dot iscariote at gmail dot com
>mbstring extension is required by exif, see more information >here:

if so, there is no zend_module_dep defined on exif, so the user can be hinted on the logs..

"Cannot load module exif because required module mbstring is not loaded"
 [2006-12-21 12:42 UTC]
Missing quotes fixed in CVS (Bug #39716).

I cannot replicate the changing install path on Windows XP Professional ( non-x64 ). I don't have an x64 bit version to test on, but it sounds like something specific to that version.

It seems the error message you get is from PHP thinking it's getting installed in one place, but Windows thinking another. Changing the extension_dir directive to the correct path should fix it.

mbstring is automatically installed when choosing to install exif currently.
 [2006-12-22 22:29 UTC] torsten at vip dot cybercity dot dk
OK, thanks for looking into this. I'll check out 5.2.1 once that gets out.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 12 22:01:29 2024 UTC