How to test PHP 7 and WordPress MySQL/MariaDB Database connectivity using a PHP script
To test PHP 7 and WordPress MySQL/MariaDB database connectivity using a PHP script, you can use the following steps: Create a new PHP file with a .php extension, for example test.php Open the file using a text editor and add the following code: <?php $host = “hostname”; $user = “username”; $password = “password”; $dbname … Read more