is it possible to enable/disable PHP per virtual host? or is it a server-wide thing?
thanks :)
Printable View
is it possible to enable/disable PHP per virtual host? or is it a server-wide thing?
thanks :)
Yes, you can. If you use control panel software like Plesk it is relatively easy, you just untick the php box. I am sure that you could do the equivalent in the httpd.conf file as well. I haven't ever had to do this, so not sure exactly how, but it can be done!!
cheers,
Luke
hmm....i guess i'll have to research it...i want to edit it via the httpd.conf....
my research shows that you can place:
php_flag engine off/on
in the virtual hosts directive or in the .htaccess file.
i tried it, but it didn't work