The update_php_mime_types Script
There is a command line tool for managing these settings called update_php_mime_types, located in the /usr/local/cpanel/bin/ directory.
Run the following command for detailed information about how this tool works:
The update_php_mime_types script is run automatically as part of the EasyApache3.
It will update or remove PHP AddHandler directives in .htaccess files down to, by default, 3 levels deep within users’ home directories.
note Note: You can configure the depth for update_php_mime_types from the Tweak Settings page.
To prevent this update from occurring, create a file named:
Reference: http://cpanel.net/
Leave a Reply
You must be logged in to post a comment.