Support for mysqli

Questions & Problems about Installing or Upgrading with Version 3 phpList.
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

Support for mysqli

Postby Cornwell » 9:30pm, Wed 05 Feb, 2014

The code now includes both mysql.inc and mysqli.inc.
In the first version of this post I asked
Am I correct in my inference that mysqli.inc is a supported replacement for mysql.inc? And that to use it you simply replace the line in config.php to invoke it:
Code: Select all
# select the database module to use
# anyone wanting to submit other database modules is
# very welcome!
$database_module = "mysqli.inc";

Things have moved on. I have made that change in three of my instances of phplist and last night I successfully sent out a message to over 1800 subscribers. I have concluded that mysqli.inc is indeed a straightforward replacement for mysql.inc.
The reason I raised this is that my php is currently at level 5.4 and when it goes up to 5.5 (probably around July/August, says my hosting service) it would have started to throw warning messages, which will disconcert my users, had I not made this change.

Roger
Cornwell
PL Geek
 
Posts: 55
Joined: 12:03pm, Thu 24 Mar, 2005
Location: Durham, England

Re: Support for mysqli

Postby durangod » 4:29pm, Thu 17 Jul, 2014

I am very happy also to see that you have atleast included the option for the MySqli libary. I was wondering about that when i DL this version if you had heeded the warnings of the past years and updated this to either MySqli or PDO. Thanks for going the MySqli way :) cause i hate PDO lol...

Now you have the option to slowly remove the old mysql library from your code over the next few years and thats great. This script suffered for a long time due to its prolonged lack of real attention and im sooooo glad that you have finally come of age.

To all those devs who work this script every day and or who contribute to it. Thanks for your hard work and long hours... :)
durangod
phpLister
 
Posts: 6
Joined: 10:53pm, Fri 04 Mar, 2011


Return to Installing and Upgrading

Who is online

Users browsing this forum: No registered users and 2 guests