?
Solved

PHP Virtual Machine on a 64 Bit Host

Posted on 2014-02-18
6
Medium Priority
?
293 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 84

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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

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

Expert Comment

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

Accepted Solution

by:
Dave Baldwin earned 2000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

764 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