Most affordable 24×7 server management plan including 24×7 monitoring, security audit and much more  Server Management Services 

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