[Ilugc] how to run a php file with apache

  • From: lgp171188@xxxxxxxxx (Guruprasad)
  • Date: Fri Jun 4 17:24:52 2010

Hi,

On Fri, Jun 4, 2010 at 5:20 PM, Kenneth Gonsalves
<lawgon@xxxxxxxxxxxxxxx> wrote:

On Friday 04 June 2010 17:14:10 Senthil Kumaran S wrote:
On Fri, Jun 4, 2010 at 4:58 PM, Kenneth Gonsalves

<lawgon@xxxxxxxxxxxxxxx> wrote:
and rather than do anything fancy decided to proxy to apache. So I
installed php5 for apache (apt-get php5) and mods-enabled shows php5.conf
and php5.load. Here is the contents of the two files:
load:

If you're trying to use it with 'userdir' module, in the recent
versions, it is by default disabled for the user's public_html
directories because then the users could run arbitrary PHP scripts as
www-data user. In that case you may need to enable it in the module's
configuration file. Also a look into apache's logs might give a better
clue as to why the php script is not getting executed by mod-php.

Regards,
Guruprasad

Other related posts: