[Ilugc] how to run a php file with apache

  • From: mehul.n.ved@xxxxxxxxx (Mehul Ved)
  • Date: Sat Jun 5 11:59:38 2010

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

but when the browser is pointed to a php file, a file open or download dialog
comes up. What am I missing?

1. Are you using mod_userdir? As guruprasad said, php is disabled in
user's DocumentRoot
2. Since you haven't mentioned it anywhere I'll ask this. Have you
reloaded/restarted apache after installing and configuring mod_php?

Other related posts: