Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

How to disable PHP?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
pkhach
Posts: 3
Joined: Mon Jan 26, 2015 5:57 am

How to disable PHP?
  • Quote

Post by pkhach » Mon Jan 26, 2015 6:03 am

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,
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: How to disable PHP?
  • Quote

Post by sim » Mon Jan 26, 2015 9:46 am

You could do this manually, not via panel. Or create template which would have disabled scripts.
Top

pkhach
Posts: 3
Joined: Mon Jan 26, 2015 5:57 am

Re: How to disable PHP?
  • Quote

Post by pkhach » Mon Jan 26, 2015 7:56 pm

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?
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: How to disable PHP?
  • Quote

Post by sim » Mon Jan 26, 2015 8:48 pm

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.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password