We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf2fa4 commit 2e02b21Copy full SHA for 2e02b21
nextcloud_update.sh
@@ -383,6 +383,14 @@ fi
383
# Fix PHP error message
384
mkdir -p /tmp/pear/cache
385
386
+# Just in case PECLs XML are bad
387
+if ! pecl channel-update pecl.php.net
388
+then
389
+ curl_to_dir http://pecl.php.net channel.xml /tmp
390
+ pear channel-update /tmp/channel.xml
391
+ rm -f /tmp/channel.xml
392
+fi
393
+
394
# Update Redis PHP extension (18.04 --> 20.04 since 16.04 already is deprecated in the top of this script)
395
print_text_in_color "$ICyan" "Trying to upgrade the Redis PECL extension..."
396
@@ -396,7 +404,7 @@ then
404
then
397
405
install_if_not php"$PHPVER"-dev
398
406
fi
399
- pecl channel-update pecl.php.net
407
400
408
yes no | pecl upgrade redis
401
409
systemctl restart redis-server.service
402
410
0 commit comments