faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 13 people (31%) answered Yes
Recently 4 of 10 people (40%) answered Yes


Trying to configure php4 for apache 1.3.24 when i create my test page i receive an Error404. WHY?

Jun 2nd, 2008 22:59
dman, forum net tr, forum nettr, cemal ates, cemal ate, Katty May, cemal kemal, Quentin Neill, Kevin Ingles, http://www.ttnr.org

You may have placed the .php file in the wrong location, or have
configured Apache 
To see if this is the case, look in your error log just after
accessing the URL; you should see some evidence in the access
log and then the error log (if you are getting a 404):
  [root]# cd /var/log/httpd
  [root]# tail -1 access_log - - [21/Feb/2003:16:39:03 -0500] \
     "GET /test.php HTTP/1.1" \
     404 307 "-" "Opera/6.11 (Linux 2.4.18-3 i586; U)  [en]"
  [root]# tail -1 error_log
  [Fri Feb 21 16:39:03 2003] [error] [client] \
    File does not exist: /var/www/theneills/html/test.php
You may have to adjust DocumentRoot or any number of apache
configuration elements to correct this problem.