My Webhost swears all the latest extensions/patches are installed on their end and sent me back here. Is there anything I can do from cPanel or CLI on my end to fix this?
Note this issue is also for Mag 2.4.1-p1.
Also note, customer login on the front end also fails - I assume for the same reason.
I've tried switching between php7.3 and 7.4 in multiPHP manager and forcing php7.3 or 7.4 in .htaccess (
AddHandler application/x-httpd-php73.php
) to no avail.
Run the command:
php -m
If sodium isn't listed it is not installed, from what I read. I posted earlier how to install sodium, and that worked for me....that is until Elasticsearch started randomly stopping, but that is another issue
Thank you! Indeed Libsodium was not installed. My webhost was able to install and indeed
php -m | grep sodium
on root dir confirms libsodium install.
Note this fixed login issue on both front and back ends of Mag 2.4.1-p1.
Now on to update to 2.4.2 - I assume that will work now too
Thanks again for finding the solution.
Thank you very much!
It was only a klick in Cpanel (PHP Version) to activate sodium
[root@server1 ~]# php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dom exif fileinfo filter ftp gd gettext gmp hash iconv imagick imap intl json libxml mbstring mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix pspell Reflection session SimpleXML soap sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zip zlib [Zend Modules] and still getting this error
me too same error with 2.4.2
AddHandler application/x-httpd-php73.php
i put in in the htacess file in the pub folder and that solved the problem for me hope it helps you
I am getting a different error at the 1385/1390 installation progress . the error is
"in compat.php line 1927: this is not implemented, as it is not possible to implement argon2i with acceptable performance in pure-php magento 2.4 installation"
does anyone know what to do about. The installation is on Xampp windows 10 64bit
I was facing the same issue, I fixed that with below mentioned changes.
1. Add "extension=sodium" to php.ini (no quotes)
2. Copy php/libsodium.dll to apache/bin/
3. Restart Server
great post and very clear explanation on this question. Very good effort..https://unlockmytvapk.xyz/