ServerSolutions
08-01-2017, 08:21
Try to use pdo connection instead of mysql. An example of pdo connection string:
Also, You can try to install mysql with php7.
or
http://pecl.php.net/package/mysql
(same code, same timestamp, now static and likely will never be updated again)
Then compile the code on your server:
Then edit your php.ini
Somewhere either in the “Extensions” section or “MySQL” section, simply add this line:
Code:
Also, You can try to install mysql with php7.
Code:
mkdir /ext cd ext/ git clone https://github.com/php/pecl-database-mysql mysql --recursive
http://pecl.php.net/package/mysql
(same code, same timestamp, now static and likely will never be updated again)
Then compile the code on your server:
Code:
phpize ./configure make make install
Somewhere either in the “Extensions” section or “MySQL” section, simply add this line:
Code:
extension = /usr/local/lib/php/extensions/no-debug-non-zts-20151012/mysql.so