Re: How to run php programs on local computer?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
To: Main PLUG discussion list
Subject: Re: How to run php programs on local computer?
This sounds like you have the web server setup, but the PHP module for
some reason didn't load correctly, so apache doesn't know what a PHP
file is, and that's why your web browser is prompting you to open it
with something else.... it doesn't know what it is either.

It might be as simple as restarting your web server.

If that doesn't work run this:
a2enmod php5

That should enable the php5 support in apache if it's not turned on already.

Brian Cluff

On 07/03/2013 03:15 PM, wrote:
> I followed this to the letter, but when I enter
> http://127.0.0.1/index.php in the browser address field,
> I got a pop-up asking this:
> "What should Firefox do with this file?"
> (*) Open with (KWrite (default) is the only option shown)
> ( ) Save File


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss