By bhsdev
when I execute:
#sudo pecl5.5-sp install
I get the following error:
pecl/redis requires PHP (version >= 7.0.0, version <= 7.1.0, excluded versions: 6.0.0), installed version is 5.5.37
No valid packages found
install failed
This doesn’t make sense that pecl5.5-sp would have these php version requirements… anyone have any ideas?
(only reason I am using 5.5 is to mimic a live environment)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I guess with pecl you can install an older variant. In this case it wanted to install 3.0.0, but I needed 2.2.8 for php5.5, so:
sudo pecl5.5sp install redis-2.2.8
…did the trick!
Verify it with this:
php -r "if (new Redis() == true){ echo \"OK \r\n\"; }"
from here
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.