Today I installed the latest version of WordPress and all went fine, except the fact that when I'm trying to config the database access. WordPress insists on using mysql_connect which is undefined in PHP versions above 5.X. I already tried setting wp-config by defining this:
define('WP_USE_EXT_MYSQL', false);
also tried setting it as true just for testing purposes, and nothing works.
Also, I already set up all extensions in PHP including mysqlnd and mysqli. Basically I did everything in stackoverflow and still I got nothing.
The following error is what is showing up:
PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in
I'm using PHP 7.4 and MySQL 8.0. Also, WordPress is in its latest version.