Add a custom flag
To add a custom flag, perform the following steps:
- Create the file that corresponds to the version of Apache or PHP that will receive the custom flag.
- In the file, enter the flag that you wish to add.
- EasyApache parses the flag and formats the options properly before it adds them to the data structure.
- Save your changes.
Example of Custom Flag with data
Enter only one item per line.
This data results in the following command-line structure:
Raw opts with Apache 2.4
If you use raw opts to add statically-compiled functionality into the Apache binary, then you must change the
--with-module flag to the
--with-module=static flag. The module will not compile if
=static is not included.
Raw opts with ModSecurity
If you use raw opts to call the fuzzyHash operator in ModSecurity, you must install ssdeep. You must also add the
--with-ssdeep=<path/to/ssdeep> flag to your raw opts file. If you do not include this, the operator will not function.
Raw opts with the make command
EasyApache passes the
-j2 option by default if your system uses more than one core. Set options in this file to compile EasyApache with a different number of cores.
If this file does not exist or is empty, EasyApache uses its default behavior.
How to skip your raw opts
If you experience problems with your Apache builds, you can skip your raw opts before build time. This can be useful for troubleshooting purposes.
To skip your raw opts with the command line interface, perform the following steps:
Run the following script before you issue the build command:
Rebuild Apache with the
To skip your raw opts with the WHM interface, perform the following steps:
- Click the Help link.
- Select the Do not use raw opts support checkbox.
- Click Submit.
- Return to the previous screen and build the profile.
If the build completes successfully, you must reconfigure or omit your raw opts.