Solved

PHP Virtual Machine on a 64 Bit Host

Posted on 2014-02-18
6
270 Views
Last Modified: 2014-03-05
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
Comment
Question by:pepps11976
  • 3
  • 2
6 Comments
 
LVL 13

Expert Comment

by:AielloJ
ID: 39867976
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
 

Author Comment

by:pepps11976
ID: 39867985
yes I have just checked and I have downloaded the 32 bit version
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39868002
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:pepps11976
ID: 39869705
Hi Dave I have tried using the installer and I still get the same error
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39869772
Do you have IIS6 running?
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39869777
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now