Control Web Panel

WebPanel => PHP => Topic started by: Gogo on October 30, 2015, 06:45:11 PM

Title: libsodium
Post by: Gogo on October 30, 2015, 06:45:11 PM
Does anyone knows how to install php libsodium-dev on Centos (CWP) ? I tried a few different ways, but unsuccessfully.
Title: Re: libsodium
Post by: Igor S. on November 03, 2015, 10:15:42 AM
Hi,
what kind problem do you have?
As I see it can be installed by:
Code: [Select]
yum --enablerepo=epel install libsodium-devel
Title: Re: libsodium
Post by: Gogo on November 03, 2015, 11:48:05 AM
I fix it, not sure how but it's fixed now, i found a way to install it on one of the stackoverflow posts.

Whatever i try php will return error that there is no sodium functions, and if i try to install libsodium, return is "libsodium is alredy installed".

On the server without cwp i can install libsodium without problems, and works fine.

But anyway, thanks for answer.
Title: Re: libsodium
Post by: Igor S. on November 03, 2015, 12:18:16 PM
I guess you can install the module with pecl.
Something like: pecl install libsodium