dknife
Well-known member
So I had actually discovered this issue with my current SMF forum a year or so ago but did a workaround and forgot about it. I'm a bit worried for XenForo though due to it being more updated for PHP.
When I try to install XenForo on my host after created the DB and user, I receive this error:
The CPanel on my host doesn't create newer mysql hashed passwords and since I don't have admin level access to my phpmyadmin nor any kind of CLI I can't set the password for the user to re-create the hash.
My previous workaround was to add this to .htaccess in the root of the forum software:
I'm wondering if this forces the application to use PHP 5.2 instead of the installed 5.3 and will that cause any issues with XenForo? At work I know of the significant changes in 5.3 which broke some of my code and I had to do several updates to the structure but I don't believe I've done any specific 5.3+ code on my personal sites before and thus not sure of the above workarounds effect.
The support department for the host asked for the connection string or PHP file I'm using but I've very new to XenForo (1 day) so I'm completely unfamiliar with the code base and what to provide them. I rather like the host, they've been doing quite well for me over the years and they're decently priced but if I need to move to another host I will do so, especially as my new sites I'll be using PHP 5.3+ functions.
When I try to install XenForo on my host after created the DB and user, I receive this error:
mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file
The CPanel on my host doesn't create newer mysql hashed passwords and since I don't have admin level access to my phpmyadmin nor any kind of CLI I can't set the password for the user to re-create the hash.
My previous workaround was to add this to .htaccess in the root of the forum software:
Code:
AddHandler application/x-httpd-php52 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php52 .php5 .php4 .php .php3 .php2 .phtml
I'm wondering if this forces the application to use PHP 5.2 instead of the installed 5.3 and will that cause any issues with XenForo? At work I know of the significant changes in 5.3 which broke some of my code and I had to do several updates to the structure but I don't believe I've done any specific 5.3+ code on my personal sites before and thus not sure of the above workarounds effect.
The support department for the host asked for the connection string or PHP file I'm using but I've very new to XenForo (1 day) so I'm completely unfamiliar with the code base and what to provide them. I rather like the host, they've been doing quite well for me over the years and they're decently priced but if I need to move to another host I will do so, especially as my new sites I'll be using PHP 5.3+ functions.