Disable php Functions for a Particular Domain

Are you interested for monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more ? please check our Monthly server support plans

Disable php functions for a particular domain:

In some case you may need to disable php functions for a particular domain. In that case you can disable it using the following method,

Just edit the .htaccess file for the particular domain and add the following code in the file,

php_flag engine off

Also you need to add the following code in the virtual host entry of the particular domain,

In the httpd configuration file you can see the virtual host entry and there you need to add the following code,

php_admin_flag engine off

After this restart httpd service using the following command,

service httpd restart

Now the php functions will be disabled for the domain.

Need our help to fix the issue ? Submit Support Ticket Now

View Server Administration Packages

Leave a Reply

Your email address will not be published. Required fields are marked *