Click to See Complete Forum and Search --> : odd error messages
iguana726
05-15-2003, 10:45 AM
Okay as far as i know i have installed php correctly,( i am running windows NT). But when i try to test a page, just the hello one suggested, i get the following error message: PHP Fatal error: Unknown(): Unable to open c:\inetput/hello.php in Unknown on line 0. Now i have no idea whats up with a / and a \ being on the same line....and the file is in the inetpub wwwroot folder. If anyone has a suggestion i would appreciate it, it sucks to be this far and have something like that be in the way.
thanks
tsinka
05-17-2003, 04:19 AM
Hi,
do you use the CGI or isapi version of php ?
iguana726
05-17-2003, 11:00 AM
i think its cgi since i am running windows but i'm not positive and it is, i just checked the instal.txt and it is indeed the cgi version. and thank you for responding.
tsinka
05-17-2003, 11:02 AM
How does your script look like ? Did you try this one ?
<?PHP
phpinfo();
?>
iguana726
05-17-2003, 11:16 AM
yes i have that one and hello written in the correct syntax. i think there is something else wrong (obviously) since what comes up in the browser window is:
PHP Fatal error: Unknown(): Unable to open c:\inetpub/php/test.php in Unknown on line0
so i'm not sure what i need to do to correct the path problem. and i tested it out on a asp page and that showed up like it is supposed to so its just a php problem.
tsinka
05-17-2003, 11:36 AM
Does your AppMapping in the IIS configuration look like:
c:\path-to-php-dir\php.exe %s %
Did you add .php to the extensions list ?
All directories containing php scripts must have script permission (configurable with the Internet Service Manager).
Also check that the IIS User has execute rights to the directory containing php.exe.
T.
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.