9.4 C
Munich
Friday, March 24, 2023

Magento 2 Compat PHP Error not possible to implement Argon2i

Must read

Magento 2 Compat PHP Error not possible to implement Argon2i is the error is which is occurs during the installation of Magento 2.

There are different scenarios you will get this error. For different scenarios, there is a different method to fix this error, and due installation of Magento, another functionality is done successfully.

Complete solution regarding Magento 2 Compat PHP Error not possible to implement Argon2i

Magento 2 Compat PHP Error not possible to implement Argon2i
Magento 2 Compat PHP Error

Compat PHP Error in Magento 2

There are two different scenarios you will get this error

One during the process of Magento installation you will get errors such as “This is not implemented, as it is not possible to implement Argon2i with acceptable performance”

Another Compat PHP Error is getting during Login to admin panel

Solution for both Compat PHP Error in Magento 2

Solution 1:

The solution is you have to enable the extension called sodium in the file php.ini.

This can be done by going into the folder file path C:\xampp\php\php.ini

Then open the file and find extension;extension=sodium.

Remove the semicolon from the above extension to enable sodium and then save the file and restart the Apache

You can also do this same process quickly to openphp.ini a file with help of Xampp by clicking a button called config in the row of apache.

Configure php ini file
Configure php ini file

Solution 2:

Remove semicolon of extension sodium from file php ini to enable.

Copy the file "C:\xampp\php\libsodium.dll" to "C:\xampp\apache\bin\"

Restart the Apache.

Solution 3:

Remove semicolon of sodium extension from php ini

Then copy the file  C:\xampp\php\libsodium.dll to inside C:\xampp\
Next Copy C:\xampp\php\libsodium.dll to inside folder path C:\xampp\php\ext\
Then Copy C:\xampp\php\libsodium.dll to inside folder path C:\xampp\apache\bin\

Restart the Apache and check it.

Solution 4:

Add the code inside the file name httpd-xampp.conf and the file path "\xampp\apache\conf\extra\httpd-xampp.conf" Inside the file, you will find the below given you add the single line of code.

Find:
LoadFile "C:/xampp/php/php7ts.dll"
LoadFile "C:/xampp/php/libpq.dll"
LoadFile "C:/xampp/php/libsqlite3.dll"
LoadModule php7_module "C:/xampp/php/php7apache2_4.dll"

Add:
LoadFile "C:/xampp/php/libsodium.dll"

Then Restart Apache.

Another Error Called Gd2.php Solution regarding Image Adapter during Installation

- Advertisement -spot_img

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest article