Apache & PHP Customization
← Go BackCustom Options
Saving Custom Options
Each time Apache is built, the options you used will automatically be saved as the "Previously Saved Config". However, If you have chosen to set up custom options/modules, you may want to save the configuration for later use. You can enter a File Name (all letters, numbers, and underscores), Display Name and a description.
FOR EXAMPLE:
File name: ap22_opt_php
Display Name: Optimized Apache 2.2 with PHP
Description: Performance optimized Apache 2.2 with mod_rewrite
and mod_evasive. PHP built with MySQL support and our other standard options.
For use on Reseller_Gold servers that require common PHPscripts/apps.
After saving, these Profiles will appear in the Apache Update interface in WHM and when running /scripts/easyapache from the command line.
You can save a profile without rebuilding Apache by pressing the "Save only (Do NOT build)" instead of "Save and build".
Profiles can be deleted from the WHM interface via a delete link next to each non cpanel profile, you will be asked if you're sure since it is un doable.
The CLI interface does not have a profile removal system but you can simply delete the path.
These saved profiles can be pre-loaded later by choosing:
/scripts/easyapache --profile= ap22_opt_php
or you can build Apache with a specific profile without having to go through the interface steps by running:
/scripts/easyapache --profile= ap22_opt_php --build
For more information see "--profile=profile_name" in "/scripts/easyapache
--help"
