Skip to content

Instantly share code, notes, and snippets.

@aamsur-mkt
Last active October 2, 2020 09:11
Show Gist options
  • Save aamsur-mkt/f87f216749f216ec7457a74c13230511 to your computer and use it in GitHub Desktop.
Save aamsur-mkt/f87f216749f216ec7457a74c13230511 to your computer and use it in GitHub Desktop.
Downgrade redis to 4.3.0
sudo apt-get install php7.2-redis
# force install
sudo pecl install -f redis-4.3.0
# show current version
php --ri redis
# sometime an error appear
# PHP Fatal error: Cannot use result of built-in function in write context in /usr/share/php/Archive/Tar.php on line 639
# look at https://stackoverflow.com/questions/50347729/xampp-how-to-upgrade-pear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment