Preserving httpd.conf during EasyApache

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

  • Share/Bookmark

Filed Under: Quick fixesTechnical

Tags:

About the Author: InstaCarma is a provider of Enterprise Class Solutions for the Hosting Industry

RSSComments (1)

Leave a Reply | Trackback URL

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

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes