Installation of TYPO3 v9.5 fails in last step because of missing PHP library “argon2i”

放肆的年华 提交于 2020-05-14 12:09:25

问题


I am trying to install TYPO3 v9.5.3 for the first time and fail in the last step of the installation routine (after submitting the form with the login details for the admin user).

As far as I could track this issue down, I think the problem is that I don't have the required library for argon2i compiled into PHP.

Now I found a very similar problem description here, but I am not able to change the algorithm in the process of the installation.

Is there a way to use "bcrypt" or "phpass" right from the beginning (during installation)?


回答1:


According to https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/PasswordHashing/Index.html, PHP 7.2 brings Argon2i support out of the box.

Also, this documentation page also says it falls back to other hashing algorithms if argon2i is not available.


So I guess that your guess about the missing lib is not the real reason.

Your question also does not explain what your actual error/problem is, so there is nothing more we can do here.




回答2:


Untested but you can try to create typo3conf/AdditionalConfiguration.php before starting the installation process and put this into the file:

$GLOBALS['TYPO3_CONF_VARS']['BE']['passwordHashing']['className'] = 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\BcryptPasswordHash';



来源:https://stackoverflow.com/questions/54081267/installation-of-typo3-v9-5-fails-in-last-step-because-of-missing-php-library-ar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!