mmiskov100 Posted January 4, 2010 Share Posted January 4, 2010 Hi everybody, I am a beginner ih PHP programming.I successfuly installed PHP 5.3.0.on Apache 2.2,and won the test page(http://localhost/test php).But every further site(e.g."hello.php") appears with error 404 message(Object not found).Does anybody have a similar experience? Quote Link to comment https://forums.phpfreaks.com/topic/187127-php-starting/ Share on other sites More sharing options...
premiso Posted January 4, 2010 Share Posted January 4, 2010 Chances are you are not putting the new file in the WWW directory where it needs to be put to display. This can be different depending on how you setup your system, did you by chance use WAMP? Or did you install them manually? You can find out what is the document root of the apache server by looking at the httpd.conf file and seeing what it has been set to. Quote Link to comment https://forums.phpfreaks.com/topic/187127-php-starting/#findComment-988211 Share on other sites More sharing options...
mmiskov100 Posted January 4, 2010 Author Share Posted January 4, 2010 I have setup system manualy.The directory of the new file is the same as for test php. Meanwhile,when I open command "php-cgi hello.php" it appears php wornings:"Directive 'register_globals & 'magic_quotes_gpc' are depracted in php 5.3 and greater in Unknown on line 0." ...Status:404 Not found.... ....No input file specified. Quote Link to comment https://forums.phpfreaks.com/topic/187127-php-starting/#findComment-988252 Share on other sites More sharing options...
PFMaBiSmAd Posted January 4, 2010 Share Posted January 4, 2010 It sounds like you are using Windows Notepad to create files and your actual file name is something.php.txt. Have you changed the Windows setting that causes it to hide known file extensions? Quote Link to comment https://forums.phpfreaks.com/topic/187127-php-starting/#findComment-988257 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.