How do I update PHPList to use mysqli?

The distributed version of PHPlist uses a MySQL database and calls the
mysql functions, which are now deprecated and in the next (5.5) release
of php will cause warning messages to be generated. At some point in the
future they will stop working altogether. Fortunately a simple change to
the PHPlist config file will cause the corresponding mysqli (MySQL
Improved) functions to be used instead and these are now the recommended
ones. Future-proof your installation of PHPlist by following the
following steps:

1) Locate the config file for your phplist installation.

If you have installed the script on your domain with URL like
http://www.mydomain.co.uk/phplist/ then the physical path will be
...
/home/(cpanel-username)/public_html/phplist/config/config.php *
Download this file to your local machine by FTP

2) Edit the file in a local *TEXT* editor like notepad (MS-Word is not
a text editor)

3) Locate the section that defines the database module to use (search
for _database module_)

# select the database module to use
# anyone wanting to submit other database modules is
# very welcome!
$database_module = "mysql.inc";

4) In that last line change mysql to mysqli and save the file.

5) FTP the new configuration over the top of the original and it will
start to use mysqli.

  • 8 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

May I upgrade at a later time?

Yes, you can easily upgrade your account at anytime. Simply click "upgrade" in the Client Portal...

How soon can my account be setup ?

For shared hosting services, our system will automatically activate your account and send you...

How do I backup and restore my Website and databases ? How do I move my sites from my current host to Astutium?

If your old host is also using WHM/CPanel then there is a reasonably simple procedure to move...

Where is the Form Mail (FormMail) Script ? How to use CPanel inbuilt form to email scripts ?

Included with every Astutium::Host CPanel web hosting plan is the free Form Mail CGI Script,...

How do I set up an Autoresponder/Out of office to incoming emails on CPanel ?

Creating an Autoresponder Login to your webmail interface through http://{domain}/webmail Go...

Powered by WHMCompleteSolution