Re: How to run php programs on local computer?

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Brian Cluff
Dátum:  
Címzett: Main PLUG discussion list
Tárgy: 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