TheCoachSMB

Solved:- This is not implemented, as it is not possible to implement Argon2i with acceptable performance in pure-PHP

Solved:- This is not implemented, as it is not possible to implement Argon2i with acceptable performance in pure-PHP

6 Steps to Install Magento 2.4.3 on XAMPP Windows Using Composer

While installing magento2 on windows with Xampp, we can get following error. So resolve the issue read the full details.

Scenario 1: – While Magento 2 Install

In compat.php line 1927: This is not implemented, as it is not possible to implement Argon2i with acceptable performance in pure-PHP

 

Scenario 2:- While Login in the Magneto 2 Admin Panel

For both the scenarios, here are the solutions:

Solutions:-

Solution 1:

This error occurs means sodium extension not enabled in php.ini file, enable it and re-run install command in the command prompt.

Go toΒ C:\xampp\php\php.iniΒ and add these lines after the [PHP] tag to enable PHP extensions.

Quick tip: You can quickly open php.ini on Xampp interface with this button

 

[PHP]
extension=sodium
Remove semicolon from the beginning of the line ;extension=sodium which enables it. Then restart Apache means stop and start Apache. That’s it.

 

Solution 2:

Perform following steps to solve this error.

  • Remove semicolon from the beginning of the line ;extension=sodium from php.ini which enables it.
  • Copy C:\xampp\php\libsodium.dll to C:\xampp\apache\bin\
  • Restart Apache means stop and start Apache.
That’s it.

Solution 3:

We need to perform following steps :-

  • Remove semicolon from the beginning of the line ;extension=sodium from php.ini which enables it.
  • Copy C:\xampp\php\libsodium.dll to C:\xampp\
  • Copy C:\xampp\php\libsodium.dll to C:\xampp\php\ext\
  • Copy C:\xampp\php\libsodium.dll to C:\xampp\apache\bin\
  • Restart Apache and check now.

 

Solution 4:

To fix this issue, put the following code in the \xampp\apache\conf\extra\httpd-xampp.conf file in the pub folder
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"
Save the file. Restart Apache and check now.

Conclusion:

In this article different solutions has been given. Please do comment below mentioning which solution worked for you.
Sonal Motghare-Balpande

Hello Readers, My passion is to guide people by sharing the knowledge I have. If I can contribute even little to the people life, its very big achievement for me. Thank You, Sonal

One thought on “Solved:- This is not implemented, as it is not possible to implement Argon2i with acceptable performance in pure-PHP

    1. Thanks for contacting Gautam, please follow below steps:
      1. Remove semicolon from the beginning of the line ;extension=sodium from php.ini which enables it.
      2. Copy (wherever you have installed xampp that drive )D:\xampp8.1\php\libsodium.dll to D:\xampp8.1\apache\bin\
      3. Restart Apache means stop and start Apache.

  1. Hey sonal, I have tried all the above solutions but I am not able to fix this, do you have any other solution? PS i have wamp

  2. Thank you very much Sonal for this great article. Solution 2 worked for me, I was missing copying the dll file to the apache/bin folder.

  3. HI!, Solution number 2, work with me!, It works like a charm now!, thank you very much for your help!

Leave a Reply

Your email address will not be published. Required fields are marked *

πŸš€ Let’s Connect on LinkedIn! πŸš€

Want to level up your skills and knowledge? πŸš€
Follow us on LinkedIn to get:
βœ… Expert insights on business growth
βœ… Daily tips to sharpen your skills
βœ… Exclusive updates from The Coach SMB

Let's grow together!