Mysql cannot be found in phpinfo. in online win2008r2iis7.5fastcgiphp5.2.17php5.5, the information is running phpinfo and the MYSQL module cannot be found. The running program reports the error "Fatalerror: Calltoundefinedfunctionmysql_connect () inD: websitehead. phponl phpinfo cannot find mysql, Online =
Win2008 r2 iis7.5 fastcgi php5.2.17 php5.5
When phpinfo is running, the MYSQL module cannot be found.
The running program reports the error "Fatal error: Call to undefined function mysql_connect () in D: \ website \ head. php on line 4
"
Php. ini
Extension = php_mysql.dll
Extension = php_mysqli.dll
Enabled for help
------ Solution --------------------
Copy the dll file to system32 in win2008.
After modifying php. ini, remember to restart iis.
------ Solution --------------------
Phpinfo finds whether the File loaded by the load Configuration File is the same as the php. ini File you modified.
In addition, check that the php_mysql.dll file is in the/php/ext/directory.