jomgapuz Posted December 24, 2017 Posted December 24, 2017 Hi, I have seen that the version in Tommy is RC6. Can we update it to the at least latest and stable release version?Also, can we include mongodb extension? Thank you very much! More sunlight to Helio Networks! :-)
Luigi123 Posted December 24, 2017 Posted December 24, 2017 This support request is being escalated to our root admin.
Krydos Posted December 24, 2017 Posted December 24, 2017 Tommy PHP has been upgraded to 7.2.0. We do not support mongodb at this time. We have had several other people inquire about it though so we've been looking into whether it would be possible. https://krydos.heliohost.org/72/phpinfo.php
jomgapuz Posted December 24, 2017 Author Posted December 24, 2017 Hello, Thank you for updating!For clarifications, I meant the php lib for mongodb. Not the service itself. :-)
jomgapuz Posted December 24, 2017 Author Posted December 24, 2017 (edited) Hi, Just in. As of release PHP 7.2.0, the new password hashing algorithm should be available but it doesn't seem to exist.Using the hashing algorithm introduce from here, here and here: PASSWORD_ARGON2IThe usage below should work...:<?php/** * This code will benchmark your server to determine how high of a cost you can * afford. You want to set the highest cost that you can without slowing down * you server too much. 8-10 is a good baseline, and more is good if your servers * are fast enough. The code below aims for ≤ 50 milliseconds stretching time, * which is a good baseline for systems handling interactive logins. */$timeTarget = 0.05; // 50 milliseconds $cost = 8;do { $cost++; $start = microtime(true); password_hash("test", PASSWORD_BCRYPT, ["cost" => $cost]); $end = microtime(true);} while (($end - $start) < $timeTarget);echo "Appropriate Cost Found: " . $cost;?> ...but it failed with the warning: Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /home/gapuz/public_html/jomgapuz.com/public_html/info.php on line 14 Warning: password_hash() expects parameter 2 to be integer, string given in /home/gapuz/public_html/jomgapuz.com/public_html/info.php on line 14 Edited December 24, 2017 by jomgapuz
jomgapuz Posted January 2, 2018 Author Posted January 2, 2018 Hi, Just read it. As per documentation, it must be installed with the parameter: –with-password-argon2
Krydos Posted January 2, 2018 Posted January 2, 2018 You can't manually specify options on cpanel installed stuff without breaking cpanel. Like I said maybe the next version will have it.
Recommended Posts