Author |
|
alexerwin33444
Joined: 12 May 2012 Posts: 7
|
Posted: Wed 05 Jun '13 3:16 Post subject: x64 PHP 5.4.15 Handler for Apache 2.4.4 |
|
|
I am looking for an x64 handler for Apache 2.4.4. I went to the php.net website and everything is x86.
I did first install x86 Apache and the handler I found here and it worked but I am trying to install x64 to get a custom module to work.
Maybe you could answer if the modules need to be x64 in order to work? The module runs perfectly on Win32. Could I recompile under x64 and it will work with Apache Win32?
Thanks |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 05 Jun '13 6:57 Post subject: Re: x64 PHP 5.4.15 Handler for Apache 2.4.4 |
|
|
I am looking for an x64 handler for Apache 2.4.4.
See here: http://www.apachelounge.com/viewtopic.php?t=5323
Could I recompile under x64 and it will work with Apache Win32?
No |
|
Back to top |
|
alexerwin33444
Joined: 12 May 2012 Posts: 7
|
Posted: Wed 05 Jun '13 16:17 Post subject: |
|
|
I am getting an error from using the included handler.
C:\usr\local\apache\bin>httpd -k start
httpd: Syntax error on line 45 of C:/usr/local/apache/conf/httpd.conf: Cannot load var/php/php5apache2_4.dll into server: %1 is not a valid Win32 application. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 06 Jun '13 1:21 Post subject: |
|
|
Well, that handler expects the rest of the x64 php to be used and on an x64 Apache. You cannot mix & match x64 handler & x86 php because the handler also loads php5ts.dll & any other extension dlls in use. |
|
Back to top |
|
alexerwin33444
Joined: 12 May 2012 Posts: 7
|
Posted: Thu 06 Jun '13 8:00 Post subject: |
|
|
OK. I deleted and installed fresh and it worked. Thanks |
|
Back to top |
|