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