Filed under:

How do I disable php for one account on a Linux server ?




To disable PHP for a single domain/account hosted on a Linux server, simply add the following directive to the .htaccess file in the domains web root directory ...
  • php_flag engine off

If you are the server administrator, you can disable PHP for the domain/account by adding aline on the httpd.conf section for that virtual host ...

  • php_admin_flag engine off


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Language: