martijnbolt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WSOD when upgrading to php 7,x using mysqliI have been struggling with this problem for hours at end.
Earlier one online forum post mentioned to set WP_USE_EXT_MYSQL to true, so i did. I probably did not try the current configuration of 7.3, all extensions and WP_USE_EXT_MYSQL to false at the same time. Or maybe my config did not kick in earlier (when I had the settings right earlier, like now) without a proper restart of the services involved. I’m not sure, except that it works now.
Forum: Fixing WordPress
In reply to: WSOD when upgrading to php 7,x using mysqliThat solved it!
Setting the following line in wp-config.php resulted in the set-up working in php 7.3 without the warning message.
define(‘WP_USE_EXT_MYSQL’, false);
Thank you very much!
Forum: Fixing WordPress
In reply to: WSOD when upgrading to php 7,x using mysqliresult:
bool(true)Forum: Fixing WordPress
In reply to: WSOD when upgrading to php 7,x using mysqliHey thanks. I’ve done some further searching and found out it is probably in the wordpress code or setup somewhere. A simple PHP script on the same (virtual) server works fine for connecting to the same wordpress database using MySQLi:
this code is what i use:
$mysqli_connection = new MySQLi('localhost', 'wordpressuser', 'secretpassword', 'wordpressdbname');THis gives no errors, just a fine connections using the php 7.3 server set-up. For some reason wordpress skips MySQLi in PHP.