PHP on IIS7

Hi!

I need to install PHP on our public Web Server, which is running Windows Server 2008 (32-bit) and IIS7. I was told by a friend to make sure I do a manual install because running the Web Installer will mess up IIS, which is what I’m trying to avoid.

Before I attempt it on a live server, I wanted to attempt it on our development server, which is running Windows Server 2008 R2 64-bit. Though I know Microsoft Web Platform will install PHP correctly on this machine, I am trying to do it manually to simulate what I will need to do on the public server.

I found PHP’s official documentation (http://php.net/manual/en/install.windows.iis7.php) and followed each step: Unpacked the PHP files to C:\php and configured php.ini. But when I go to test if PHP works from the command prompt, I type in “php -info” and get “Could not open input file: o”.

So I figured that I had missed something, deleted my edited php.ini file and extracted a fresh copy, but I’m still getting the same error.

I tried Googling the error, but found little help. I’m hoping someone might have some advice?

Any help would be greatly appreciated.

Thanks!

-Eric

Did you try http://php.iis.net/ ?

Sponsor our Newsletter | Privacy Policy | Terms of Service