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

Problem with Jeanie installer Ubuntu #385

Open
agenda51 opened this issue Nov 17, 2020 · 0 comments
Open

Problem with Jeanie installer Ubuntu #385

agenda51 opened this issue Nov 17, 2020 · 0 comments

Comments

@agenda51
Copy link

agenda51 commented Nov 17, 2020

I had an issue installing DF with jeanie.
It was due to an outdated installation version of couchbase.
To correct it I modified the necessary part by this :

INSTALL COUCHBASE

php -m | grep -E "^couchbase"
if (($? >= 1)); then
if ((CURRENT_OS == 16)); then
wget -P /tmp http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-4-amd64.deb
dpkg -i /tmp/couchbase-release-1.0-4-amd64.deb

elif ((CURRENT_OS == 18)); then
wget -O - https://packages.couchbase.com/clients/c/repos/deb/couchbase.key | apt-key add couchbase.key -
echo "deb https://packages.couchbase.com/clients/c/repos/deb/ubuntu1804 bionic bionic/main" >/etc/apt/sources.list.d/couchbase.list
fi

apt-get update
apt install -y libcouchbase3 libcouchbase-dev libcouchbase3-tools libcouchbase-dbg libcouchbase3-libev libcouchbase3-libevent
pecl install couchbase
if (($? >= 1)); then
echo_with_color red "\ncouchbase extension installation error." >&5
exit 1
fi
echo "extension=couchbase.so" >"/etc/php/${PHP_VERSION_INDEX}/mods-available/xcouchbase.ini"
phpenmod -s ALL xcouchbase
php -m | grep couchbase
if (($? >= 1)); then
echo_with_color red "\nCould not install couchbase extension." >&5
fi

fi

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

No branches or pull requests

1 participant