IIS7 + php5.5 + fastcgi unable to connect to the database directly Call the mysql_connect () function to get the Call & nbsp; to & nbsp; undefined & nbsp; function & nbsp; mysql_connect () the error database may be related to the configuration file and cannot be found online. & nbsp; there is a solution program that is also in the ISAPI mode. Is there a problem? is there a solution for the first time? fa IIS7 + php5.5 + fastcgi
Unable to connect to database
Directly call the mysql_connect () function
An error occurred while calling to undefined function mysql_connect ().
The database is normal
It may be related to the configuration file.
No answers can be found online.
There are also ISAPI-based solutions
No problem with the program itself
Is there a solution?
Fastcgi for the first time
------ Solution ----------------------
Dare to be the first in the world, admire!
Php 5.5 can be used without being released.
------ Solution ----------------------
Is the mysql extension enabled in php. ini?
Your phpinfo; check whether pdo and mysqli are supported. if so, you can use one of them.
------ Solution ----------------------