Re: How to run php programs on local computer?

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Brian Cluff
Fecha:  
A: Main PLUG discussion list
Asunto: 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