Skip to content

Commit 01a429f

Browse files
committed
Hardcode PEAR paths to fix PECL installation
1 parent 0795d06 commit 01a429f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.evergreen/install-dependencies.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set -o errexit # Exit the script with error if any of the commands fail
44

55
install_extension ()
66
{
7+
# Workaround to get PECL running on PHP 7.0
8+
export PHP_PEAR_PHP_BIN=${PHP_PATH}/bin/php
9+
export PHP_PEAR_INSTALL_DIR=${PHP_PATH}/lib/php
10+
711
rm -f ${PHP_PATH}/lib/php.ini
812

913
if [ "x${DRIVER_BRANCH}" != "x" ] || [ "x${DRIVER_REPO}" != "x" ]; then

0 commit comments

Comments
 (0)