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