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