Re: How to run php programs on local computer?

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Brian Cluff
日付:  
To: Main PLUG discussion list
題目: 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