View Full Version : Help / PHP 5.5.29
DJ-Dez
09-26-2015, 02:30 AM
When I upgraded my PHP to 5.5.29 I received the following error:
Fatal error: Call to undefined function mysqli_init() in /home/thforum/public_html/includes/class_core.php on line 1348
Any ideas?
Thank you
RichieBoy67
09-26-2015, 02:37 AM
Make sure you have Vbulletin of version 4.2
Lower versions are not compatible.. You are better off going to the latest 4.2 anyways.
And if you are really bound to MySQLi, install the MySQLi PHP package on your server.
On CentOS, you can do that by executing "sudo yum install php-mysqli".
That will obviously only work if you have SSH access to your server.
DJ-Dez
09-26-2015, 01:42 PM
root@mainframe [~]# sudo yum install php-mysqli
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror1.babylon.network
* extras: mirror1.babylon.network
* updates: mirror1.babylon.network
No package php-mysqli available.
Hm, weird. This is in SSH. We are on the latest vBulletin.
Maybe `sudo yum install php5-mysqli`?
Also http://serverfault.com/a/445963
Paul M
09-26-2015, 08:06 PM
In your config.php try changing it to mysql and make sure you have Vbulletin at version 4.2.4.
Lower versions are not compatible.. I think beta 3 is but you are better off going to the latest 4.2 anyways.
There isnt a vB 4.2.4 (yet), I think you mean 4.2.3 (its not a beta now either).
You cannot set it to mysql for php 5.5, mysql is deprecated, you need to install mysqli.
RichieBoy67
09-26-2015, 08:13 PM
There isnt a vB 4.2.4 (yet), I think you mean 4.2.3 (its not a beta now either).
You cannot set it to mysql for php 5.5, mysql is deprecated, you need to install mysqli.
Thanks, Corrected. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.