Try checking to see if the PHP MySQL extension module is being loaded:
<?php
phpinfo();
?>
If it's not there, add the following to the php.ini file:
extension=php_mysql.dll
if it is there make sure its uncommented like below
if you see
;extension=php_mysql.dll
make it
extension=php_mysql.dll
Or another possibility to make sure if MySQL is installed you may check on the result of phpinfo();
by searching mysql
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.