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

Sonal Motghare-Balpande is an eCommerce technology professional with 14+ years of experience helping businesses navigate Magento, Shopify, WooCommerce and other eCommerce technologies. Through TheCoachSMB, she shares practical insights on eCommerce technology, Magento, SEO, performance and platform decisions—helping business leaders understand complex technology issues and make better decisions. Her focus is simple: help eCommerce businesses understand technology better, make informed decisions and avoid costly technical mistakes. Have a question about your Magento or eCommerce store? If you're dealing with a similar issue or trying to make a technology decision, feel free to ask me. Connect with Sonal: WhatsApp : +91 702-050-0374 | support@thecoachsmb.com | https://www.linkedin.com/in/sonalmotgharebalpande/

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 *

Select your currency
INR Indian rupee