Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert to using PECL for Redis #658

Closed
enoch85 opened this issue Sep 7, 2018 · 1 comment · Fixed by #659
Closed

Revert to using PECL for Redis #658

enoch85 opened this issue Sep 7, 2018 · 1 comment · Fixed by #659

Comments

@enoch85
Copy link
Member

enoch85 commented Sep 7, 2018

It's been a while now since we change to the Ubuntu 18.04 packages, believing that the maintainer for redis-server would come around and fix the annoying issue that spams the log... Since there has been no change, let's fix it by reverting back to the old way of installing Redis, using PECL.

Spam free logs, here we go!

@enoch85
Copy link
Member Author

enoch85 commented Sep 9, 2018

Update Redis PHP extension

if type pecl > /dev/null 2>&1
then
install_if_not php7.2-dev
echo "Trying to upgrade the Redis Pecl extenstion..."
yes '' | pecl upgrade redis
service redis-server restart
fi


Install PHPmodule

install_if_not php7.2-dev
if ! yes '' | pecl install -Z redis
then
msg_box "PHP module installation failed"
exit 1
else
printf "${Green}\nPHP module installation OK!${Color_Off}\n"
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant