Rohit Mohta wrote:

i have configured apache 2.0.49 in my system and included the following lines of code 
in my http:conf file

LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php

i have also configured the  php.ini file and created a test script(phpinfo.php,placed 
it in my htdocs directory) to check whether php has been properly installed or not
but when i run the testscript by entering the follwoing line in the address bar of 
internet explorer

localhost/phpinfo.php

i get the following error message

HTTP 404 - File not found
Internet Explorer

Check if the DocumentRoot is right in your httpd.conf - it should be the same as the location where phpinfo.php is located.

--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to