#39913 [Fbk->Csd]: Installer does not work on x64
| From: | jmertic@php.net | Date: | Thu, 21 Dec 2006 12:42:27 +0000 |
| Subject: | #39913 [Fbk->Csd]: Installer does not work on x64 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106728@lists.php.net to get a copy of this message | ||
ID: 39913
Updated by: jmertic@php.net
Reported By: torsten at vip dot cybercity dot dk
-Status: Feedback
+Status: Closed
Bug Type: Unknown/Other Function
Operating System: Windows XP Professional x64
PHP Version: 5.2.0
Assigned To: jmertic
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-12-20 21:55:50] judas dot iscariote at gmail dot com
>mbstring extension is required by exif, see more information >here:
>http://php.net/exif
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-20 21:29:01] tony2001@php.net
mbstring extension is required by exif, see more information here:
http://php.net/exif
------------------------------------------------------------------------
[2006-12-20 21:13:00] torsten at vip dot cybercity dot dk
Description:
------------
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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39913&edit=1