Jump to content

Error 404


ugot2nome

Recommended Posts

I had PHP working on Apache 2/Linux 9. I had my server down for a few weeks.

Now whenever I want to run http://localhost/phpinfo.php or any other .php file I get the following error:

 

Object not found!

 

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

 

If you think this is a server error, please contact the webmaster

 

Error 404

 

localhost

Sat 11 Oct 2003 10:23:58 PM EDT

Apache/2.0.40 (Red Hat Linux)

 

I have tried reloading PHP does not fix it. Any suggestions. Please help...

Thanks, Brian

Link to comment
https://forums.phpfreaks.com/topic/1154-error-404/
Share on other sites

The objective here is to eliminate the obvious first before digging deeper:

 

Put a test html file (just displays \'test\' or something) in the folder where the php file is located and try loading that into your browser through the web server.

Then rename the same html file to a php extension and try it again, see if it comes up.

If it comes up the first time, your folder is working, if not then you have a problem in your Apache setup.

If it fails as a php file, then your problem is in PHP setup.

If it works the second time, then we need to have a rethink!!

Let us know how you get on!

 

D

Link to comment
https://forums.phpfreaks.com/topic/1154-error-404/#findComment-3899
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.