conf.d/php.conf being overwritten
Every time apache updates my custom AddType line in php.conf gets overwritten. Where can I put this so that it does not overwite every time it updates?
I need php to parse .html files server wide.
-
Hello @RickKukiela, Here's the information from the top of this file regarding manual changes: # head -7 /etc/apache2/conf.d/php.conf # This file was automatically generated by the Cpanel php # Configuration system. If you wish to change the way php is being # handled by Apache on your system, use the # /usr/local/cpanel/bin/rebuild_phpconf script or the WHM interface. # # Manual edits of this file will be lost when the configuration is # rebuilt.
You can find discussion of configuring a custom mime type server-wide on the following post: EA3 to EA4 - Permanent httpd.conf Changes Thank you.0
Please sign in to leave a comment.
Comments
1 comment