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

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
capella07
Forum Newbie
Posts: 1
Joined: Sat Jan 24, 2009 8:10 am

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

Post by capella07 »

I am following these instructions for installing PHP on IIS7: http://learn.iis.net/page.aspx/246/usin ... 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:
Image

What am I missing/doing wrong?

Thanks for anyone's help!
Post Reply