Apache & PHP Customization

← Go Back

Distributing Over Multiple Servers

Build Profiles

Build profiles are saved in /var/cpanel/easy/apache/profile/custom/. They are named "{profilename}.yaml". Simply rsync/scp/ftp the appropriate .yaml files (to the same directory on the new server) between your servers to distribute a build profile. Or once you've configured the profile, place it on a distribution server so you can suck it down with wget,sftp,etc.

Example of Automating This:

#scp http://www.domain.com/mycustom.yaml /var/cpanel/easy/apache/profile/custom/mycustom.yaml
#/scripts/easyapache --build --profile=mycustom

Custom Configure Flags or Variables

Just like Build Profiles, simply copy over the appropriate files to the same directory on the server you wish to use the flag or variable on.