343cbc
--- php-7.2.0/configure.ac.includedir
343cbc
+++ php-7.2.0/configure.ac
343cbc
@@ -1230,7 +1230,7 @@
343cbc
 EXPANDED_DATADIR=$datadir
343cbc
 EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
343cbc
 EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
343cbc
-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR
343cbc
+INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR:${EXPANDED_DATADIR}/php
343cbc
 
343cbc
 exec_prefix=$old_exec_prefix
343cbc
 libdir=$old_libdir