selsdon Posted October 27, 2008 Share Posted October 27, 2008 Hi I am a first timer. I am installing on a pc for test and evaluation. The apache monitor shows the apache and php loaded on the task bar. But when trying to process a php script returns cannot find or cannot stat on the error log. I am running has XP professional Version 2002 service pack 3. I am installing Apache 2.2.10(win32) and PHP5.2.6. I have use the correct dll and set up all as the documentation,but cannot get tom work. I have spent the last two week-ends trawling through the Apache and php docs but I must be missing something ANY HELP please. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 27, 2008 Share Posted October 27, 2008 Have you confirmed that Apache is working first? What happens when you enter the following in your browser's address bar - http://localhost/ Create a php file called phpinfo.php with the following code in it and place it into your web document root folder - <?php phpinfo(); ?> Browse to this file using the following URL and tell us what you get - http://localhost/phpinfo.php Quote Link to comment Share on other sites More sharing options...
dave_2008 Posted October 27, 2008 Share Posted October 27, 2008 Try using "WAMP" or "XAMPP" You might need to uninstall Apache and PHP (or remove them) before installing one of those, so that you dont get confused later on. They are much easier to install and use for newbies. While downloading, use the installer bundle if they give a choice... Start by googling for those two names. HTH Quote Link to comment Share on other sites More sharing options...
selsdon Posted October 27, 2008 Author Share Posted October 27, 2008 Have you confirmed that Apache is working first? What happens when you enter the following in your browser's address bar - http://localhost/ Create a php file called phpinfo.php with the following code in it and place it into your web document root folder - <?php phpinfo(); ?> Browse to this file using the following URL and tell us what you get - http://localhost/phpinfo.php localhost returns the It works index page as it should The phpinfo.php search returns page not found in the Apache error log its is listed as page not found or unable to stat. The page existsand is in the document root file. Does the php file need to be in any special format? On the Apache monitor the Apache and PHP are both showing on the task bar. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 27, 2008 Share Posted October 27, 2008 Is your Windows setup to show file extensions so that you know the file is not phpinfo.php.txt? Quote Link to comment Share on other sites More sharing options...
selsdon Posted October 27, 2008 Author Share Posted October 27, 2008 Is your Windows setup to show file extensions so that you know the file is not phpinfo.php.txt? No the extensions are correct 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.