--- main/php_config.h.in.orig	2013-12-10 20:12:52.000000000 +0000
+++ main/php_config.h.in	2013-12-13 21:55:54.207235635 +0000
@@ -2375,6 +2375,9 @@
 /* Define if processor uses big-endian word */
 #undef WORDS_BIGENDIAN
 
+/* Include external shared modules configurations */
+#include "ext/php_config.h"
+
 /* Whether sprintf is broken */
 #undef ZEND_BROKEN_SPRINTF