Jump to content

New PHP 6 install: php -info at command line gives me error


Recommended Posts

I am following these instructions for installing PHP on IIS7: http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/.

 

Here's what I've done (per the instructions):

In the "Install and Configure PHP" section,

I extracted the non-thread-safe version into C:\PHP, renamed php.ini-recommended to php.ini, and made the following changes in the ini file:

fastcgi.impersonate = 1

cgi.fix_pathinfo=1

cgi.force_redirect = 0

open_basedir = "[the folder where my sites will be]"

extension_dir = "C:\PHP\ext"

and enabled extension=php_mysql.dll

 

I then typed "C:\PHP>php –info" at a command line and get this error: 1628hsi.jpg

 

What am I missing?

 

Thanks for anyone's help!

Link to comment
Share on other sites

The PHP binary alone shouldn't be failing, especially with such a vague error (well not vague, just useless to most people, including me ;p).

 

 

I don't know why you would be getting that message when you straightup run PHP unless it's corrupt or some other program is interfering lol.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.