Jump to content

installation help - .php open in text editor


Recommended Posts

You are going to http://localhost/ and then clicking on the file you want to run? If you are and its opening up within notepad then Apache appears to bemisconfigured. How have you configured Apache to parse PHP files with the PHP Intepreter? What tutorial did you follow to install Apache, PHP and MySQl.
Hi,
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.