[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP5 scripts not served by apache2 on Squeeze

Kristian Lampen wrote:

> Hello,
> I have a fresh install of apache2 and php on my server and I can not
> get php to work, php-scripts are not executed by apache, just the
> plain script is served to the browser.

By default, in /etc/apache2/mods-available/php5.conf the required
directives to have Apache serve PHP as you would expect are commented
out. You need to uncomment them and restart Apache. I think they're
quite clearly commented.


Reply to: