John Davidson

php - Argon2 installation for xampp

0 comments
Message:


I have installed a TYPO3 version 9.5.24 on xampp 7.4.15 on my localhost.


The TYPO3 system is from a production system and uses argon2 hash system for the install tool password.


My problem is that I don't know how to install argon2 for xampp. Does anyone have a guide for the installation?


I'm currently working on a mac OS high sierra. I have installed argon2 on my mac using homebrew but i still can't log in to the install tool.



My Answer:
To enable Argon2 hashing for TYPO3 on XAMPP, you will need to follow these steps:

1. Install Argon2 on your XAMPP server:
- If you are using a Mac, you can install Argon2 using Homebrew by running the following command in your terminal:

brew install argon2


2. Enable the Argon2 PHP extension:
- Locate your php.ini file in your XAMPP installation directory (e.g., /Applications/XAMPP/xamppfiles/etc/php.ini).
- Open the php.ini file in a text editor.
- Search for the line `;extension=argon2.so` and remove the semicolon at the beginning to uncomment the line.
- Save the php.ini file and restart your XAMPP server.

3. Verify that Argon2 is enabled:
- Create a PHP file (e.g., info.php) in your XAMPP htdocs directory with the following content:
php
phpinfo();
?>

- Access the file in your web browser (e.g., http://localhost/info.php) and search for "argon2" to verify that the Argon2 extension is enabled.

4. Update TYPO3 configuration:
- In your TYPO3 installation directory, open the LocalConfiguration.php file.
- Find the line `'BE' => ['passwordHashing' => 'bcrypt'],` and change it to `'BE' => ['passwordHashing' => 'argon2i'],` to use Argon2 hashing for the install tool password.
- Save the LocalConfiguration.php file.

5. Log in to the TYPO3 install tool:
- Try logging in to the TYPO3 install tool with the updated password hashing configuration.

By following these steps, you should be able to enable Argon2 hashing for TYPO3 on your XAMPP server and log in to the install tool successfully.

Rate this post

5 of 5 based on 6178 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us