How to run php programs on local computer?

Brian Cluff brian at snaptek.com
Wed Jul 3 17:41:01 MST 2013


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, joe at actionline.com 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



More information about the PLUG-discuss mailing list