Ok, found the cause to the GH#304, and it's easy to fix, defining PEAR_INSTALLDIR in configure.in even though we are building --without-pear should be enough to get the right PHP define() defined.
Ok, found the cause to the GH#304, and it's easy to fix, defining PEAR_INSTALLDIR in configure.in even though we are building --without-pear should be enough to get the right PHP define() defined.