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