logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: apache 2.2 VC9 php thread safe 5.3 ? is it possible?
Author
conanman



Joined: 04 Oct 2011
Posts: 10

PostPosted: Tue 04 Oct '11 11:04    Post subject: apache 2.2 VC9 php thread safe 5.3 ? is it possible? Reply with quote

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

PostPosted: Tue 04 Oct '11 12:07    Post subject: Reply with quote

was this poster right?

I need to use the vc9 apache 2.2 from you guys to run the php 5.3 vc9?

http://www.phpfreaks.com/forums/index.php?topic=344045.0
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Tue 04 Oct '11 12:11    Post subject: Reply with quote

Yeap, see also http://windows.php.net/download/


Steffen
Back to top
conanman



Joined: 04 Oct 2011
Posts: 10

PostPosted: Tue 04 Oct '11 12:35    Post subject: Reply with quote

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

PostPosted: Tue 04 Oct '11 12:38    Post subject: Reply with quote

just so you know

    I am trying to build a wamp server

    Win64 2008 R2

    php 5.3 windows vc9

    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

PostPosted: Tue 04 Oct '11 14:16    Post subject: Reply with quote

Do you run Win32 or Win64 Apache ?


Steffen
Back to top
conanman



Joined: 04 Oct 2011
Posts: 10

PostPosted: Tue 04 Oct '11 14:20    Post subject: Reply with quote

win64
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Tue 04 Oct '11 14:26    Post subject: Reply with quote

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

PostPosted: Tue 04 Oct '11 14:27    Post subject: Reply with quote

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

PostPosted: Tue 04 Oct '11 14:28    Post subject: Reply with quote

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

PostPosted: Tue 04 Oct '11 15:28    Post subject: Reply with quote

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


Reply to topic   Topic: apache 2.2 VC9 php thread safe 5.3 ? is it possible? View previous topic :: View next topic
Post new topic   Forum Index -> Other Software