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

About Sonal Motghare-Balpande Sonal Motghare-Balpande is an eCommerce technology professional with 14+ years of experience working with Magento, PHP and eCommerce platforms. Over the years, she has worked on real-world eCommerce stores, helping businesses and development teams solve technical problems, improve performance, upgrade and maintain Magento stores, and make practical technology decisions. Through TheCoachSMB, Sonal shares what she has learned from working on real eCommerce projects — from Magento development and troubleshooting to performance, SEO, architecture, upgrades and day-to-day technical challenges. Her approach is practical and experience-driven: Learn the technology. Understand the problem. Make the right decision. The goal is simple: make complex eCommerce technology easier to understand and help developers and eCommerce professionals avoid costly technical mistakes. Have a question about Magento or eCommerce? If you're working through a Magento problem, learning eCommerce development, or trying to make an important technology decision, Ask Sonal. Connect with Sonal WhatsApp: +91 702-050-0374 Email: support@thecoachsmb.com

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.

Leave a Reply

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

Select your currency
INR Indian rupee