Skip to content

Commit c0ad157

Browse files
committed
Back to pecl solr from manually patched and compiled one
With the release of php-solr 2.5.1 (20200909) we can be back to the upstream extension. The problems in previous version (see php/pecl-search_engine-solr#16) have been fixed and it should work as is. This comes with php71, 72, 73, 74 and 80 support.
1 parent b7dd165 commit c0ad157

File tree

2 files changed

+1
-66
lines changed

2 files changed

+1
-66
lines changed

root/tmp/setup/php-extensions.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ echo "Installing php extensions"
4545
# ZIP
4646
docker-php-ext-configure zip --with-zip
4747
docker-php-ext-install zip
48+
4849
docker-php-ext-install -j$(nproc) \
4950
intl \
5051
mysqli \
@@ -73,19 +74,6 @@ pickle install uuid && docker-php-ext-enable uuid
7374

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

76-
# Install custom solr extension. Last release (2.4.0) is not working at all
77-
# with php72 and php73 and upstream has not either! Solution:
78-
# - current master (as of 21th May 2019):
79-
# https://github.com/php/pecl-search_engine-solr/commit/98a8bf540bcb4e9b2e1378cce2f3a9bf6cd772b8
80-
# - this patch, applied already upstream:
81-
# https://github.com/php/pecl-search_engine-solr/commit/744e32915d5989101267ed2c84a407c582dc6f31
82-
# So, following the experience with Macports, and https://bugs.php.net/bug.php?id=75631
83-
# we are going to try 2.4.0 release + macports patch. Old, but working right now.
84-
# References:
85-
# - https://github.com/moodlehq/moodle-php-apache/issues/16 (part of the php72 image discussion)
86-
# - https://github.com/moodlehq/moodle-php-apache/issues/19 (awaiting for a better solution)
87-
#/tmp/setup/solr-extension.sh -- not existing as of 8.0.0beta3
88-
8977
# Install Microsoft dependencies for sqlsrv.
9078
# (kept apart for clarity, still need to be run here
9179
# before some build packages are deleted)

root/tmp/setup/solr-extension.sh

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)