I would like to make a modification to the PHP source code just before it is compiled in EasyApache. In the past to address a logical problem on CentOS 4, I made a patch to ModSec.pm to change how it was compiled, but that is a nasty solution and I don't want to do it again for PHP.
Is there an easy hook I could use? Otherwise, where is the Perl logic to actually perform the PHP compilation (/var/cpanel/perl/ ...)?
- - - Updated - - -
To clarify, I want to update a line of code in php-*/main/main.c before it is recompiled
Is there an easy hook I could use? Otherwise, where is the Perl logic to actually perform the PHP compilation (/var/cpanel/perl/ ...)?
- - - Updated - - -
To clarify, I want to update a line of code in php-*/main/main.c before it is recompiled