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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 64 bit vs 32 bit
Author
gbusse



Joined: 11 Oct 2012
Posts: 2
Location: Calgary, Alberta, Canada

PostPosted: Thu 11 Oct '12 21:36    Post subject: Apache 64 bit vs 32 bit Reply with quote

Running:
- Windows 7 Home Premium (64 bit)
- Apache 2.4.3 (Win32) downloaded from Apache Lounge
- php-5.4.7-Win32-VC9-x86 downloaded from windows.php.net
- php5apache2_4.dll-php-5.4-win32 downloaded from Apache Lounge

I have been reading the following instructions to get my development server up and running:
http://www.apachelounge.com/viewtopic.php?t=2394

I know in the post it mentions to downloaded the Win32 version of Apache. But I figured since I am running 64 bit Windows and that a 64 bit version of Apache was available on the site that I would install that instead. After installing PHP I was getting the following error every time I ran (httpd.exe -S)

httpd.exe: Syntax error on line 173 of C:/Phoenix/System/Apache/conf/httpd.conf:
Cannot load C:\\Phoenix\\System\\PHP\\php5apache2_4.dll into server: %1 is not
a valid Win32 application.

Took me a while but I finally found a post in the forum that lead me to download the Win32 version of Apache and install in instead of the Win64 version. This has appeared to fix my problem and Apache is running now with PHP.

My question is, is it possible to run the Win64 version of Apache along with PHP or not? I am assuming not as PHP is compiled as 32bit?

I recently got this new 64bit laptop with 64bit Windows and I am finding that 64bit software support is very limited at best. I assumed that since Apache and PHP are both available at 64bit on Linux that the same would be true for Windows.

Thanks for providing the software that you do and this forum as they have both been a big help!

Gord
Back to top
Steffen
Moderator


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

PostPosted: Thu 11 Oct '12 21:56    Post subject: Reply with quote

Think this thread shows an answer: http://www.apachelounge.com/viewtopic.php?t=4481
Back to top
gbusse



Joined: 11 Oct 2012
Posts: 2
Location: Calgary, Alberta, Canada

PostPosted: Thu 11 Oct '12 22:29    Post subject: Reply with quote

Steffen,

Thank you very much. I guess I should have looked a little harder! I see you have PHP 5.4.6 for Win64 available on your site. I also noticed in the following thread that Virsacer will no longer be contributing 64 bit builds of PHP:

http://www.apachelounge.com/viewtopic.php?t=4921&highlight=php+64bit

Do you know if anyone will be taking his place to provide these valuable builds?

Anyways thanks again and I am going to try the 64 bit versions of Apache and PHP!

Gord
Back to top


Reply to topic   Topic: Apache 64 bit vs 32 bit View previous topic :: View next topic
Post new topic   Forum Index -> Apache