bradgrafelman wrote:See [man]php_sapi_name/man. (This can also be found by doing a [man]phpinfo/man and looking for the "Server API" value at the top.) Could be. I would first double check the permissions on the .php file - make sure the IUSR_(ComputerName).. If you feel that IIS isn't configured correctly, let us know how you've attempted to install PHP and we can begin troubleshooting the problem.
i think i could not still use function phpinfo() because any php files won't still run in windows through IIS.
my colleague already check all the "permission" stuff which include - ...\wwwroot.
prior to your reply, i made changes to IIS "setting" - With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service Extensions, choose "Add a new Web service extension", enter in a name such as PHP, choose the Add button and for the value browse to either the ISAPI file (php4isapi.dll or php5isapi.dll) or CGI (php.exe or php-cgi.exe) then check "Set extension status to Allowed" and click OK. - these steps are found in "general consideration for intallations of PHP..(php.net)
then again i open/run index.php, but a prompt pops out stating "Windows cannot open this file file: index.php" and provide option to browse list of program..
PHP was already intalled in "c:\program files\php" before we are given the authority to access their intranet. and unfortunately their PHP folder didn't have php.ini so i madet it for them by renaming php.ini-recommended. open it and changed values on doc_root and extension_dir appropriately.