Apache & PHP Customization

← Go Back

Using Custom Configure Flags

Modifying your configure flags can break the compilation of Apache. cPanel is not responsible for custom changes and provides no warranty of any kind with this information. Proceed with caution.

EasyApache also allows you to specify any configure option supported by Apache and/or PHP. To add configuration options, simply place the option in the appropriate file (one option per line, format: option=value):

Configure Option Examples

If the file contains the following lines:

--with-someoption
--path-to-something=/usr/bin/something
--my-option=

The following will be added to the configure line:

--with-someoption --path-to-something=/usr/bin/something --my-option

You'll notice that the configure line has "--my-option" instead of "--my-option=". This is because the file is parsed and then properly formatted options are merged into the configure data structure.

Skipping your Custom Options

If needed, you can skip building with these custom options by running EasyApache with the --skip-rawopts flag like so:

/scripts/easyapache --skip-rawopts

Through WHM, you can skip the options by clicking on the Help Link inside the Apache Update interface and then making sure the option for Do not use raw opts support is checked.