So I’m locally trying to connect to my database and I’m receiving this error.
I know that it means it’s a problem locally but I’ve checked everything,
I’ve deleted the ‘;’ beside the sqli line in php.ini,
Apache sees that PHP is installed and php runs fine locally on my computer for other scripts, it’s just running into this problem when I try and connect to my database.
I’ve copied libmySQL.dll and libmySQLi.dll to system32, and still no luck.
(I have also tried simply mysql_connect as well but that fails, the problem seems to be I have made an error somewhere and the command ability hasn’t been added).
Did you edit the correct php.ini file? Servers can sometimes have php.ini files lurking in various places, in the output for phpinfo() look for en entry called “Loaded Configuration File” the value for that will be the php.ini file that is being used.