Skip to content

Commit 2306555

Browse files
committed
Install solr from source against php71
This is basically a backport of moodlehq#58 that was applied to php72 and up. The problem was detected @ moodlehq/moodle-docker#134 (comment)
1 parent ae0abca commit 2306555

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

root/tmp/setup/php-extensions.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,8 @@ docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/
5959
docker-php-ext-install -j$(nproc) ldap
6060

6161
# Memcached, MongoDB, Redis, APCu, igbinary.
62-
pecl install memcached mongodb redis apcu igbinary
63-
docker-php-ext-enable memcached redis apcu igbinary
64-
65-
# ZIP
66-
docker-php-ext-configure zip --with-libzip
67-
docker-php-ext-install zip
62+
pecl install memcached mongodb redis apcu igbinary uuid
63+
docker-php-ext-enable memcached mongodb redis apcu igbinary uuid
6864

6965
echo 'apc.enable_cli = On' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini
7066

@@ -90,11 +86,6 @@ docker-php-ext-enable sqlsrv
9086
# - https://github.com/moodlehq/moodle-php-apache/issues/19 (awaiting for a better solution)
9187
/tmp/setup/solr-extension.sh
9288

93-
# Install Microsoft dependencies for sqlsrv.
94-
# (kept apart for clarity, still need to be run here
95-
# before some build packages are deleted)
96-
/tmp/setup/sqlsrv-extension.sh
97-
9889
# Keep our image size down..
9990
pecl clear-cache
10091
apt-get remove --purge -y $BUILD_PACKAGES

0 commit comments

Comments
 (0)