Author |
|
conanman
Joined: 04 Oct 2011 Posts: 10
|
Posted: Tue 04 Oct '11 11:04 Post subject: apache 2.2 VC9 php thread safe 5.3 ? is it possible? |
|
|
I am on Win64. (Win Server 2008 r2) I want to install PHP 5_3 (not 5.2!!) on apache2_2 and I am determined to get it working. So I am forced now to download the VC9 thread safe version in an attempt to make it work:
http://windows.php.net/downloads/releases/php-5.3.8-Win32-VC9-x86.zip
I did the c++ runtime but when I edit httpd.conf to Load the php module it fails:
>httpd.exe
httpd.exe: Syntax error on line 493 of C:/ServerPrograms/Apache2_2/conf/httpd.conf: Cannot load C:/ServerPrograms/PHP5_3/php5apache2_2.dll into server: %1 is not a valid Win32 application.
I am really p*~sed off because I don't want IIS I want apache and I don't want 5_2 I want 5_3!!! they used to provide VC6 for 5_3 but they took it off for no reason I can figure out. Now I have that old file (5.3 VC6) but I can't go on using it I want to "upgrade" and learn the "right way". But I want the latest 5.3! so I came to apache lounge to see if this was a branch that supported vc9+php5.3 on apache 2.2
is it really true apache 2_2 is no longer supported by php on windows?
what am I doing wrong can anyone help?
alo in the past (on one of my wamp other servers) I have made vc9 work ok on windows apache 2_2 but I am told that this is bad. and I can' see what I did that made it work. |
|
Back to top |
|
conanman
Joined: 04 Oct 2011 Posts: 10
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
conanman
Joined: 04 Oct 2011 Posts: 10
|
Posted: Tue 04 Oct '11 12:35 Post subject: |
|
|
ok so since I already read that forum post, which is how I came here in the first place, and already used your vc9 version of apache 2.2 how come it's saying the error message about the php5.dll? |
|
Back to top |
|
conanman
Joined: 04 Oct 2011 Posts: 10
|
Posted: Tue 04 Oct '11 12:38 Post subject: |
|
|
just so you know
I am trying to build a wamp server
have the c++ run time distributable
apachelounge 2.2 vc9 apache
error on the php5.apache2_2.dll |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 04 Oct '11 14:16 Post subject: |
|
|
Do you run Win32 or Win64 Apache ?
Steffen |
|
Back to top |
|
conanman
Joined: 04 Oct 2011 Posts: 10
|
Posted: Tue 04 Oct '11 14:20 Post subject: |
|
|
win64 |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 04 Oct '11 14:26 Post subject: |
|
|
When you want to run as module you have to go for a PHP 64, here in the forum is Virsaceris offering it, php.net has no 64 bits.
When you not want to run as a module, but with mod_fcgid you can run PHP 32 NTS from php.net.
Steffen
Last edited by Steffen on Tue 04 Oct '11 14:27; edited 1 time in total |
|
Back to top |
|
conanman
Joined: 04 Oct 2011 Posts: 10
|
Posted: Tue 04 Oct '11 14:27 Post subject: |
|
|
I have reimaged the whole machine and have started again.. I am doing it with apachelounge/win64 |
|
Back to top |
|
conanman
Joined: 04 Oct 2011 Posts: 10
|
Posted: Tue 04 Oct '11 14:28 Post subject: |
|
|
oh I see you're saying that it's the apache 64 bit version from your site not liking the 32 bit version of php.. ahhhh ok.. so if I goto 32 bit apache lounge it should work.. ok trying that.. |
|
Back to top |
|
conanman
Joined: 04 Oct 2011 Posts: 10
|
Posted: Tue 04 Oct '11 15:28 Post subject: |
|
|
ok thank you well done...
IT IS FIXED
the issue is for me to remember to not forget I am using the 32 bit php and keep to the 32 bit apachelounge
you might want to edit your win64 page to make that really obvious.
a link on that page to the guy linking the compiled php 64 would be nice tho! |
|
Back to top |
|