ugot2nome Posted October 12, 2003 Share Posted October 12, 2003 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 Quote Link to comment Share on other sites More sharing options...
effigy Posted October 12, 2003 Share Posted October 12, 2003 no configuration changes were made? how about file permissions? Quote Link to comment Share on other sites More sharing options...
pauper_i Posted October 13, 2003 Share Posted October 13, 2003 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? Quote Link to comment Share on other sites More sharing options...
ugot2nome Posted October 13, 2003 Author Share Posted October 13, 2003 Thanks for the feedback. I typed: http://localhost and it shows that Apache is running fine. Any suggestions would be appreciated. Quote Link to comment Share on other sites More sharing options...
pauper_i Posted October 13, 2003 Share Posted October 13, 2003 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.