[Ilugc] how to run a php file with apache

  • From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
  • Date: Sat Jun 5 12:23:04 2010

On Saturday 05 June 2010 11:58:45 Mehul Ved wrote:

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

this is a virtual host - and anyway I do not see any mod_userdir in mods-
enabled - it is there in mods-available

2. Since you haven't mentioned it anywhere I'll ask this. Have you
reloaded/restarted apache after installing and configuring mod_php?


am I supposed to answer that? ;-) 

-- 
regards
kg
http://livejournal.com/lawgon

Other related posts: