feelingsheepish
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by feelingsheepish
-
-
Hi,
I have installed PHP with MySQL and Apache.
When i execute the test file (<? phpinfo(); ?>) via my localhost it opens in notepad.
Please help it's been driving me crazy.
Thanks in advance
installation help - .php open in text editor
in PHP Installation and Configuration
Posted
I am going to [u]http://localhost/test.php[/u] and the file is opening into notepad. I have used the tutorial in the book "php and mysql web development" to configure my web server. I included the following lines in my httpd config file.
LoadModule php5_module c:/php/php5apache.dll
AddModule mod_php5.c
AddType aqpplication/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
I have used this tutorial in the past and everything has worked so don't understand why it is not working.