had same prob, maybe apache still not set up.
1/. Check line 46: Listen 8080 or 80 if your web browser work's then this is OK
2/. Check line128: <LoadModule php5_module "C:\PHP\php5apache2_2.dll ">
3/. Check Line 389: <PHPIniDir "C:\PHP" >
4/.Check veriable Path: %CommonProgramFiles%\Microsoft Shared\Windows Live; '''''' ETC,ETC ,'''';should includ:::<;C:\Program Files\Apache Software Foundation\Apache2.2\bin;C:\Program Files\jEdit;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\PHP.>
5/. Oh and download Jedit have a play with it go to plugin's look down list and load PHP.
6/. And also in system varibles MAKE NEW> <Variable, PHPRC, value PHPRC...>
7/. Then in your php.ini-dist file Check line 491: <extension_dir = "C:\PHP\ext/">
8/. Check line 633: <extension=php_mysql.dll>This will be for your SQL when your arrive there, but glad I've check my self as I never saved my change was not able to link MYSQL with PHP. Thanks for making me look...
9/. Them copy libmysql to your widows dirctory when your ready.
10/. Rename your php.ini-dist to <php.ini> then check to see if youv'e not got a ~at the end i.e. php.ini~ should read php
Its posible its being save as text just try Jedit it free also you may need java.sun to make that work...
hope this works 4 you if not I've got some sharp pencels to poke in my eye.Ah Ah lots of luck...
PS I asked 4 help sill waiting done it now just waiting to see how long!!!
Originally Posted by hunt4it
I am having trouble displaying php test page in browser. My http://local
host/ seems to work fine but the file I created with a php extension says the page cannot be displayed although plain html works fine. When I save the file the icon is showing it as a text file and I'm pretty sure that I have configured php and apache correctly although I would like some checks on whether I have gone wrong somewhere i.e. dummy guide to adding directory for environment variables as this is where the problem may lie. I have gone through all the steps in the book before installing msql. This is frustrating me and am new to this, please help much appreciated. I'm using PHP 5.2.14 and Apache 2.2 by the way.