php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53233 Extensions not working on x64 Windows Server
Submitted: 2010-11-03 10:13 UTC Modified: 2010-11-04 16:57 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: php-user-42 at garn dot ws Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.3.3 OS: Windows 2003 Server x64
Private report: No CVE-ID: None
 [2010-11-03 10:13 UTC] php-user-42 at garn dot ws
Description:
------------
I'm not sure who is responsible for the php extensions shipped in the windows binary package, so i'm sorry if this is placed wrong here.

As stated out in several other bugs it is possible to use PHP on Windows x64 Servers. This works fine using the default or minimal configuration. But this for example does not include the mbstring or soap extension which are required for us.

If i try to enable the mbstring extension php crashes, telling php_mbstring.dll is not a valid windows 32 application. 
I'm almost sure the real meaning of this is php_mbstring.dll is not a valid x64 dll.

So, is there any plan to offer x64 support for the extensions shipped with php?

Regards.
ben


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-04 16:53 UTC] uramihsayibok at gmail dot com
32-/64-bit only matters to the application trying to load the DLL. If you compiled 
a 64-bit PHP then yes, the extension has to be 64-bit as well (in which case you 
need to compile that yourself too), but if you have the (distributed) 32-bit PHP 
then you need the (distributed) 32-bit extension.

Right now windows.php.net only has x86 stuff, so is your feature request about 
offering x64 too?
 [2010-11-04 16:57 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2010-11-04 16:57 UTC] pajoye@php.net
There is no benefit to run PHP in x64 mode on windows x64 (server or workstation). IIS can be x64 and php still be in 32bit, that's actually the recommended configuration for php with IIS.

For Apache, x64 is not officially supported and is not faster (even slower in many cases).

However php-next should support x64 (and all the libs we need...).

mbstring works just fine as well on Windows... not sure what's wrong with your setup. But there is no bug (as in mbstring&co loads fine) > bogus.

For further install support question, please refer to the php setup or windows mailing list.
 [2010-11-04 17:41 UTC] php-user-42 at garn dot ws
I did some more research on this problem and found out i had an error in the configuration: The path to look up the dlls was set statical to an old version of php.

After fixing that all extensions are working as expected. (Using the 5.3.3 x86 edition on windows x64 server)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 11:01:30 2024 UTC