用Apache 2.4处理程序编译PHP

我试图用Apache 2.4处理程序编译PHP 5.4,因为它不是官方可用的(我知道apachelounge.com非官方提供,但我不需要它,我需要自己编译它)。 我在PHP的deps文件夹中包含了必需的Apache include / lib文件夹,在这里应用了提交的补丁: https ://bugs.php.net/bug.php?id=62267而且我获得了成功的构build。

但不幸的是,它没有为我工作(Apache未启动),我不断收到事件日志中的以下错误:

>>> httpd.exe: Syntax error on line 175 of /path/to/httpd.conf: Module "sapi\\apache2handler\\mod_php5.c" is not compatible with this version . 

 >>> of Apache (found 20110619, need 20120211). Please contact the vendor for the correct version. 

httpd.conf第175行:

 LoadModule php5_module ../../php/php-5.4.5/php5apache2_4.dll 

它出什么问题了? 有什么build议么??

那么,错误修复和新的补丁文件提交给错误报告@ php.net

https://bugs.php.net/bug.php?id=62267