Preserving httpd.conf during EasyApache
admin | Aug 03, 2009 | Comments 1
Issue :
The apache configuration file (httpd.conf) has several custom entries which should not be over-written when an EasyApache is done for recompiling/adding a PHP/Apache extension.
Solution :
Starting with cPanel 11.x, all the apache settings are also stored in a database and the configuration files are recreated each time an account is added or a recompile is done.
To also save the changes in the database you will have to run:
/usr/local/cpanel/bin/apache_conf_distiller –update
You can check to see if the changes were accepted and will not be discarded at the next apache recompile by running :
/usr/local/cpanel/bin/build_apache_conf
Filed Under: Quick fixes • Technical
About the Author: InstaCarma is a provider of Enterprise Class Solutions for the Hosting Industry

1800 810 6547
[...] To learn how you can preserve the changes in httpd.conf during EasyApache, click here. [...]