Well, now the PECL libsodium module for alt-php70 and alt-php71 do not work. If you check the libsodium box and save in users cPanel account using the PHP Selector, the module does not load and the box won't stay checked.
Can you open a support ticket so we can take a closer look at your system? You can post the ticket number here and we'll update this thread with the outcome.Well, now the PECL libsodium module for alt-php70 and alt-php71 do not work. If you check the libsodium box and save in users cPanel account using the PHP Selector, the module does not load and the box won't stay checked.
; Enable libsodium extension module
extension=sodium.so
I give up trying to help anyone - I don't know if its down to cultural differences, or just that every developer is too arrogant to imagine that their code could be wrong, or too proud to accept help from an outsider, but the overall feeling I have from everyone lately has left me with a bad taste and wondering why I bothered !If you don't have any outstanding issues or additional questions in this ticket we can mark it as solved.
Ticket #10995917Can you open a support ticket so we can take a closer look at your system? You can post the ticket number here and we'll update this thread with the outcome.
Thank you.
On all my servers, I also have exactly the same result of not being able to enable libsodium(PECL module) on 7.0 & 7.1. However, for some reason my sodium(native PHP module) on 7.3 does work. Maybe someone I will have better luck with my ticket.In WHM ClouudLinux LVE Manager: Selector - the package is marked as "libsodium" for PHP versions 7.0 and 7.1 and "sodium" for PHP version 7.2 and neither are available for PHP 7.3
In the users cPanel Select PHP Version: extensions it is marked as "libsodium" for PHP versions 7.0 and 7.1 and "sodium" for PHP version 7.2 and neither are available for PHP 7.3
Thanks. I'm monitoring this ticket and will update this thread with the outcome.Ticket #10995917
cp -av /opt/alt/php71/etc/php.d.all/libsodium.ini /opt/alt/php71/etc/php.d.all/sodium.ini
mv /opt/alt/php71/etc/php.d.all/libsodium.ini /opt/alt/php71/etc/php.d.all/libsodium.ini.backup
cagefsctl --update
I think that one should also delete or rename the libsodium.ini file to something like libsodium.ini.bak and then force an update of CageFS SkeletonIn the meantime, the temporary workaround is to copy over the libsodium.ini file to the sodium.ini file for affected PHP versions.
# pwd
/opt/alt/php70/etc/php.d.all
# ls -al|grep sodium
-rw-r--r-- 1 root root 59 Dec 25 13:39 libsodium.ini
# cat libsodium.ini
; Enable libsodium extension module
extension=libsodium.so
# pwd
/opt/alt/php71/etc/php.d.all
# ls -al|grep sodium
-rw-r--r-- 1 root root 59 Dec 25 13:48 libsodium.ini
# cat libsodium.ini
; Enable libsodium extension module
extension=libsodium.so
# pwd
/opt/alt/php72/etc/php.d.all
# ls -al|grep sodium
-rw-r--r-- 1 root linksafe 53 Dec 24 06:45 sodium.ini
# cat sodium.ini
; Enable sodium extension module
extension=sodium.so