Sodium is missing

#1
Hello,
I get this error:
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library 'sodium' (tried: /usr/local/lsws/lsphp83/lib/php/extensions/no-debug-non-zts-20230831/sodium (/usr/local/lsws/lsphp83/lib/php/extensions/no-debug-non-zts-20230831/sodium: cannot open shared object file: No such file or directory), /usr/local/lsws/lsphp83/lib/php/extensions/no-debug-non-zts-20230831/sodium.so (/usr/local/lsws/lsphp83/lib/php/extensions/no-debug-non-zts-20230831/sodium.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Code:
But the funny thing is, I get this also with: /usr/local/lsws/lsphp83/bin/php -i | grep sodium

sodium support => enabled
libsodium headers version => 1.0.18
libsodium library version => 1.0.18

Any idea?
Should I recompile again?
 
#3
Hi,
Sodium should be part of lsphp83-common sub-package... However even with a new build, it's not there.
https://pkgs.alpinelinux.org/package/v3.21/community/x86/php83-common

Code:
--with-mysqli --with-zlib --enable-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring=all --with-iconv --with-pdo-mysql --enable-ftp --with-zip --with-curl --enable-soap --enable-xml --with-openssl --enable-bcmath --enable-intl --enable-apcu --with-imagick --enable-imap --enable-redis --enable-memcached --enable-msgpack --with-ldap --with-snmp --with-sqlite3 --with-pspell --with-ioncube --with-pgsql --with-tidy --with-jpeg=/usr/lib64/ --with-png=/usr/lib64/ --with-freetype=/usr/lib64/ --with-bz2 --enable-calendar --enable-ctype --with-exif --enable-ffi --enable-fileinfo --enable-filter --enable-gettext --with-gmp --enable-json --with-libxml --enable-mailparse --enable-mcrypt --with-mysqli --with-mysqlnd --enable-oauth --enable-pcntl --with-pcre --with-pdo --with-pdo_mysql --with-pdo_sqlite --enable-phar --enable-posix --enable-random --with-raphf --enable-readline --enable-reflection --enable-session --enable-shmop --enable-simplexml --enable-sockets --enable-sodium --enable-spl --enable-sqlite3 --with-ssh2 --enable-standard --enable-sysvmsg --with-tidy --enable-tokenizer --enable-xml --enable-xmlreader --enable-xmlrpc --enable-xmlwriter --enable-xsl --enable-yaml --enable-opcache --with-zip --with-litespeed
 
Top