Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.