Skip to content

Commit 18a2f08

Browse files
committed
Fix #78460: PEAR installation failure
When building PHP outside of the source tree: mkdir custom-build-dir cd custom-build-dir ../path/to/php-src/configure The directories need to be manually created including the pear directory so the pear installation PHAR file doesn't need to be downloaded from the remote location. Closes GH-4639
1 parent 48ff226 commit 18a2f08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,8 @@ PHP_GEN_GLOBAL_MAKEFILE
15501550

15511551
AC_DEFINE([HAVE_BUILD_DEFS_H], 1, [ ])
15521552

1553+
dnl Make directories when building in a separate build directory.
1554+
$php_shtool mkdir -p pear
15531555
$php_shtool mkdir -p scripts
15541556
$php_shtool mkdir -p scripts/man1
15551557

0 commit comments

Comments
 (0)