
Originally Posted by
theburningred
Correct.
The overall goal is to have a hands free install process. IE configure as much up front as possible so that we do not have to manually set settings later on. All of our servers will be setup the same way.
With the current process, which works, we will be running php4 and php5. We have pre-configured the php.ini files the way we want them, on each new server setup we simply copy these files in place after easyapache has completed its run. We then restart apache and make sure its up and running. There isn't currently an issue doing it this way, but I think there is probably a better way of doing it.
Apache has its main configuration files that you pointed out earlier. These files contain the values that are used in the httpd.conf file.
/var/cpanel/conf/apache/{main,local}
I'm wondering if PHP also has this same type of config file. That way we can copy over the config file to a specific location and hopefully php would be built with the settings we put in place within that file. This would take the place of copying over the php.ini files.
If you're running only one installation of PHP, that php.ini file would be located at:
Code:
/usr/local/lib/php.ini
If you are running 2 installations of PHP, the above would be for PHP 5 and the below will be for PHP 4:
Code:
/usr/local/php4/lib/php.ini
Now if you're trying to change the build parameters for Apache and PHP (e.g. the checkboxes you check in EasyApache), check out this documentation:
http://twiki.cpanel.net/twiki/bin/vi...onfigureApache