newbee Posted February 26, 2007 Share Posted February 26, 2007 Hello, I've been struggling with installing these on my computer as localhost. I have xp PRO with version 2002 and sp2. The Apache 2.2.4 installation seemed to go well and when I typed localhost in my web browse URL, it returned with the "It works!" screen which tells me that Apache by itself is working fine. The MySQL 5.0.27 installation also seems to go well although I have not been able to test it yet. I then unzipped the php 5.2.1 files, changed the config file, moved the php.ini file, etc. per the instructions. I then created a test.php file with one html line, one php line (echo) and the phpinfo() command. I then restarted Apache. When I type localhost/test.php in my web browser, it returns with error 404. Please help! Thanks. Quote Link to comment Share on other sites More sharing options...
kerberus01 Posted March 1, 2007 Share Posted March 1, 2007 Error 404 is page not found. Where did you put your test.php? Its should be in your document root. See httpd.conf in the conf directory of your apache. Mysite: Http://www.wolfpac.net Quote Link to comment Share on other sites More sharing options...
kerberus01 Posted March 1, 2007 Share Posted March 1, 2007 and by the way... if your using apache 2.x in windows and you change something in your httpd.conf restart windows not apache 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.