Author Topic: [Solved]Howto activate PHP on webroot /var/www  (Read 1849 times)

democles9308

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +1/-0
    • View Profile
[Solved]Howto activate PHP on webroot /var/www
« on: September 18, 2010, 08:31:51 pm »
Hello,

I'm trying to install a cms (drupal/joomla) on the webroot (/var/www) but it seems php is default not enabled at this location... I see that zarafa is using php so it must be installed. Can someone help me to find this out? (it must be a config thing I hope)

Update
As apache runs as user www-data, I did a chown -R root:www-data /var/www as root.
This made the use of php scripts possible.

« Last Edit: September 20, 2010, 01:42:06 pm by democles9308 »

philmills

  • Zen Warrior
  • ***
  • Posts: 161
  • Karma: +8/-0
    • View Profile
Re: [Solved]Howto activate PHP on webroot /var/www
« Reply #1 on: September 24, 2010, 08:22:52 am »
This never used to be a problem in 1.4
I'm using core version 1.5.6 now, and i have the same issue, except your solution didn't seem to work for me. When I visit any php page, the browser tries to download the php file.
any ideas?

ZentyalFan

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: [Solved]Howto activate PHP on webroot /var/www
« Reply #2 on: October 20, 2010, 02:13:02 pm »
I have the same issue.

Did you find a solution ?