Please help with this same issue, I have a Apache and PHP 7.4.5 running on a Windows 10 machine. I was still trying to install wordpress when I encountered an error
There has been a critical error on your website.
Learn more about debugging in WordPress.
I enabled debugging and entered the db details on the wp-config files manually but then I started getting this error.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Apache24\htdocs\clickmedia\wp-includes\wp-db.php:1658 Stack trace: #0 C:\Apache24\htdocs\clickmedia\wp-includes\wp-db.php(631): wpdb->db_connect() #1 C:\Apache24\htdocs\clickmedia\wp-includes\load.php(426): wpdb->__construct(‘admin’, ‘081447Addax’, ‘clickmedia’, ‘127.0.0.1’) #2 C:\Apache24\htdocs\clickmedia\wp-settings.php(126): require_wp_db() #3 C:\Apache24\htdocs\clickmedia\wp-config.php(90): require_once(‘C:\\Apache24\\htd…’) #4 C:\Apache24\htdocs\clickmedia\wp-load.php(37): require_once(‘C:\\Apache24\\htd…’) #5 C:\Apache24\htdocs\clickmedia\wp-blog-header.php(13): require_once(‘C:\\Apache24\\htd…’) #6 C:\Apache24\htdocs\clickmedia\index.php(17): require(‘C:\\Apache24\\htd…’) #7 {main} thrown in C:\Apache24\htdocs\clickmedia\wp-includes\wp-db.php on line 1658
I have tried to follow @fcolombo’s suggestion but
1. I dont have the PHP configuration utility you refer to. So I edited the PHP.ini file
2. I can’t find nd_mysql as stated
I only found this line which I uncommented.
extension=mysqli
there is also a this line
[mysqlnd]
with other configurations for mysqlnd, could this be the same as nd_mysql?
Your help would be much appreciated. Stuck trying to to sort this out for hours