fatal: relocation error: file / path / to / libphp4.so: symbol ap_block_alarms: referenced symbol not found
This error usually comes up when one compiles the Apache core program as a DSO library for shared usage. Try to reconfigure apache, making sure to use at least the following flags: