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.
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.