Page 1 of 1

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

Posted: Sat Jan 24, 2009 8:19 am
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!