• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

PHP Virtual Machine on a 64 Bit Host

Ok I think I might no why my PHP is not working but I am unsure of how to fix it

I have a Hyper V Host running a Windows 2003 32 Bit Webserver and I am trying to install php onto it.

php errors with the following

%1 is not a valid Win32 application

which I believe to be a 64 bit error

would my theory about running on a 64 bit host agree to this and if so how do I get around it

John
0
pepps11976
Asked:
pepps11976
  • 3
  • 2
1 Solution
 
AielloJCommented:
pepps11976,

It appears you're trying to run a 64-bit PHP interpreter on a 32-bit server.  Check the PHP installer to see if it's 32-bit or 64-bit.  It appears you need the 32-bit version.

Best regards,

AielloJ
0
 
pepps11976Author Commented:
yes I have just checked and I have downloaded the 32 bit version
0
 
Dave BaldwinFixer of ProblemsCommented:
There is a little more than just downloading it.  The easiest way on Windows is using the Microsoft Web Platform installer.  http://www.microsoft.com/web/platform/phponwindows.aspx
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
pepps11976Author Commented:
Hi Dave I have tried using the installer and I still get the same error
0
 
Dave BaldwinFixer of ProblemsCommented:
Do you have IIS6 running?
0
 
Dave BaldwinFixer of ProblemsCommented:
Configuring IIS to Run 32-bit Applications on 64-bit Windows (IIS 6.0)

See here http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/405f5bb5-87a3-43d2-8138-54b75db73aa1.mspx?mfr=true 

There is a menu of other items about IIS6 on the left.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now