Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: php.exe is not a valid win32 application |
|
Author |
|
raphael75
Joined: 26 Jul 2013 Posts: 5
|
Posted: Fri 26 Jul '13 23:24 Post subject: php.exe is not a valid win32 application |
|
|
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: 692
|
Posted: Sat 27 Jul '13 0:15 Post subject: |
|
|
The VC11 downloads from php.net and Apachelounge do not run on XP. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Sat 27 Jul '13 2:36 Post subject: |
|
|
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
|
Posted: Sun 28 Jul '13 8:24 Post subject: |
|
|
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! |
|
Back to top |
|
|
|
|
|
|