Jump to content

Archived

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

ugot2nome

Error 404

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

Share this post


Link to post
Share on other sites

no configuration changes were made? how about file permissions?

Share this post


Link to post
Share on other sites

URL <> PHP

URL == Apache

You have a problem in your Apache configuration. It isn\'t a case of the file isn\'t executing (PHP), rather it isn\'t being found at all.

 

Are your .HTML files working correctly?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

×

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.