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