Submitted by Serdar ARIKAN on Mon, 04/02/2018 - 07:49
Debian9
But I could not figure out how to do it. I should do this by creating a virtual server after I have made the necessary edits in my server templates. Since I created my virtual server without ever touching my server templates, I would have to delete the php plugins from that virtual presentation using a custom method.
Status:
Active
Comments
Submitted by andreychek on Mon, 04/02/2018 - 09:27 Comment #1
Howdy -- there unfortunately isn't a simple way to disable PHP, as all the Virtual Server templates are automatically setup to run PHP.
If you wish to disable PHP completely for a domain, you'd probably need to edit the Apache config file for that domain (in /etc/apache2/sites-enabled/domain.tld.conf), and comment out the lines containing any reference to "php".