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: php.exe is not a valid win32 application
Author
raphael75



Joined: 26 Jul 2013
Posts: 5

PostPosted: Fri 26 Jul '13 23:24    Post subject: php.exe is not a valid win32 application Reply with quote

I was trying to follow the instructions in the video here:

http://www.youtube.com/watch?v=Wrla_4D5_Fg

to install Apache 2.4.6 and PHP 5.5.1 on Win XP 32-bit.

I downloaded this file:

http://windows.php.net/downloads/releases/php-5.5.1-Win32-VC11-x86.zip

and I followed the video's instructions exactly. Apache works and I can access the Webserver. However, when I type:

php -m

at the command prompt I get this error:

php.exe is not a valid win32 application

What would cause that to happen and PHP to not execute on the server?

Thanks!
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 677

PostPosted: Sat 27 Jul '13 0:15    Post subject: Reply with quote

The VC11 downloads from php.net and Apachelounge do not run on XP.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Sat 27 Jul '13 2:36    Post subject: Reply with quote

And even if you compile PHP 5.5 with VC9 it will not run on XP. XP and Windows 2003 aren't supported anymore. The last version for those OS's is PHP 5.4.17.
Back to top
raphael75



Joined: 26 Jul 2013
Posts: 5

PostPosted: Sun 28 Jul '13 8:24    Post subject: Reply with quote

Ah, that is good to know. Thank you!

So I would need to switch to Win 7 to use PHP 5.5?

I just downloaded 5.4.17 and it works! Smile
Back to top


Reply to topic   Topic: php.exe is not a valid win32 application View previous topic :: View next topic
Post new topic   Forum Index -> Other Software