Today when configuring the apache and php environments, I personally felt that the configuration was good. I wrote the test php files myself and they could be executed successfully, but when running
When phpMyAdmin prompts that the mysql extension cannot be loaded,
please check the PHP configuration. Later, after troubleshooting, the solution was found. I will share it with you below.
Home.
The environment is configured and my test file looks like a.php
The code is as follows
|
Copy code
|
||||
echo phpinfo(); $cn = mysql_connect('localhost','ttftroat','xxx') or die(mysql_error());?> There is no problem with the input results, but when I use phpmyadmin, I get a prompt phpMyAdmin - Error
Solution |
www.bkjia.com