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.