Skip to content

Commit 05bcbc9

Browse files
committed
Add phpenmod calls after PHP extension installs (RUNLEVEL=1 suppresses postinst)
1 parent 5973a1d commit 05bcbc9

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

addons/redis-server-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ fi
6666
# Install Redis
6767
print_text_in_color "$ICyan" "Installing Redis server and PHP extension..."
6868
install_if_not php"$PHPVER"-redis
69+
phpenmod -v "$PHPVER" redis
6970
install_if_not redis-server
7071

7172
## Redis performance tweaks ##

nextcloud_install_production.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,10 +611,12 @@ run_script ADDONS redis-server-ubuntu
611611

612612
# Install smbclient (OS package - no longer built from PECL)
613613
install_if_not php"$PHPVER"-smbclient
614+
phpenmod -v "$PHPVER" smbclient
614615

615616
# Install igbinary for PHP (OS package - no longer built from PECL)
616617
# https://github.com/igbinary/igbinary
617618
install_if_not php"$PHPVER"-igbinary
619+
phpenmod -v "$PHPVER" igbinary
618620
# Set igbinary as session serializer (igbinary.compact_strings is already set in the package .ini)
619621
{
620622
echo "# igbinary for PHP"

0 commit comments

Comments
 (0)