Author Topic: Enable PHP support in zentyal 2.0 ?  (Read 5273 times)

ZentyalFan

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Enable PHP support in zentyal 2.0 ?
« on: October 20, 2010, 03:33:48 pm »
Hi,

   Does anybody know how to enable PHP support for apache [virtual host ] ?

 Currently when I put PHP code and browse the site, I see the download box for PHP file. Can anybody guide how to enable and configure PHP ?


sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Enable PHP support in zentyal 2.0 ?
« Reply #1 on: October 20, 2010, 11:50:57 pm »
Just using the standard configuration.

You must set your PHP configuration under /etc/apache2/sites-available/user-ebox-<virtualhost_name> directory and do not forget to enable PHP module.

Best,
My secret is my silence...

GrahamNR17

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Enable PHP support in zentyal 2.0 ?
« Reply #2 on: December 16, 2010, 03:21:00 pm »
...and do not forget to enable PHP module.
Could you expand on that just a little for the newcomers to your product?  ???

Specifically, it makes me think there's a checkbox somewhere (well hidden?) I'm having similar trouble getting our site working on the test box I've set up to evaluate Zentyal.

My apologies if I'm missing something really obvious, it's just not mentioned in the docs etc.

Thanks in advance,
Graham