PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Nov 24, 2014 1:34 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu May 17, 2012 11:15 am 
Offline
Forum Newbie

Joined: Thu May 17, 2012 11:02 am
Posts: 1
Hi!

I'm trying to install PHP on our public Web Server (Windows Server 2008 32-bit). 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.

To start, I thought I would attempt doing this on our development server, which is running 2008 R2 64-bit. Even though I was told Microsoft Web Platform would work on this machine, I wanted to do it manually to simulate what I would 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


Top
 Profile  
 
PostPosted: Fri May 18, 2012 4:17 pm 
Offline
Forum Contributor

Joined: Sun Sep 09, 2007 6:27 pm
Posts: 282
Try specifying the path to your php.ini file with the -c option. Some windows php binaries are built to use php.ini from c:\windows only.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group