Page 1 of 1
How to disable PHP?
Posted: Mon Jan 26, 2015 6:03 am
by pkhach
Hello,
For some users (websites) I need to disable PHP and provide static websites hosting only.
Is it possible with Vesta?
P.S Thanks for creating such a great product.
Thanks,
Re: How to disable PHP?
Posted: Mon Jan 26, 2015 9:46 am
by sim
You could do this manually, not via panel. Or create template which would have disabled scripts.
Re: How to disable PHP?
Posted: Mon Jan 26, 2015 7:56 pm
by pkhach
sim wrote:You could do this manually, not via panel. Or create template which would have disabled scripts.
Manually and/or template are OK.
Can you please give more details?
Re: How to disable PHP?
Posted: Mon Jan 26, 2015 8:48 pm
by sim
Search google on how to disable php, either by file types or php flag.
/usr/local/vesta/data/templates/web/httpd
you'll find templates. Create new or modify as it suits you.