phpinfo.php File Not Found
| From: | Titus Cheung | Date: | Mon, 21 Jan 2002 07:54:33 +0000 |
| Subject: | phpinfo.php File Not Found | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5645@lists.php.net to get a copy of this message | ||
Hello,
I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can someone tell me what I have
done wrong?
When I use my browser to see http://localhost/phpinfo.php, it says File Not Found with
Error 404.
The file is there and contains the code <? phpinfo() ?>
I installed PHP4 in d:\php4, and set the following lines in my php.ini file, which resides in
d:\winnt\:
doc_root =d:\program files\apache\htdocs
user_dir =
extension_dir = d:\php4\extensions
The Apache is installed in d:\program files\apache group\apache\, and I've set the following
lines in my conf\httpd.conf file:
ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
ScriptAlias /php4/ "D:/php4/"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php /php/php.exe
And yes, I did start the Apache server. I can see http://localhost
Thanks
Titus