Quantcast
Channel: WordPress 4.8.1 uses mysql_connect which doesn't work with PHP 7 - WordPress Development Stack Exchange
Browsing latest articles
Browse All 5 View Live

Answer by aldemarcalazans for WordPress 4.8.1 uses mysql_connect which...

Are you using Xamppp 7.x for Windows? It happened to me when I upgraded my Xampp 5.6 to Xampp 7.1. Inspecting the configuration file C:\Xampp\php\php.ini, I noticed a lot of errors involving the name...

View Article



Answer by Lawrence Oputa for WordPress 4.8.1 uses mysql_connect which doesn't...

What you should do to solve this problem, is to edit your php.ini file. run where is php.ini I found mine at: /etc/php/php.ini (although I don't know what OS you are running simple find yours) Look for...

View Article

Answer by birgire for WordPress 4.8.1 uses mysql_connect which doesn't work...

In addition to @MarkKaplun answer, I post some code from the wpdb class: Here's how the wpdb::use_mysqli is determined: It's initalized with: /** * Whether to use mysqli over mysql. * * @since 3.9.0 *...

View Article

Answer by Mark Kaplun for WordPress 4.8.1 uses mysql_connect which doesn't...

This sounds like you do not have mysqli installed and/or enabled on your server. IIRC mysqli was added to php in version 5.5, and the older mysql extension had been deprecated and fully retired since...

View Article

WordPress 4.8.1 uses mysql_connect which doesn't work with PHP 7

I just upgraded to PHP 7 only to find that WordPress 4.8.1 (latest version) still uses mysql_connect in the wp-db.php module, but mysql_connect has been deprecated. The following code is taken from...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images