IIS + php systems: windows2003 + IIS6.0. PHP5 is installed using the ISAPI module. after installation, The. php document is configured on the test website. Write a phpinfo (); to view the Configuration information, see the Configuration File (php. ini) Path C: \ WINDOWS does not find the custom configuration file. copy ini to C: \ WINDOWS \. restart IIS to view the Configuration File (php. ini) Path C: \ WINDOWS \ php. ini... it seems to be normal, but the prompt for testing the previous php program is: undefined function mysql_connect () dizzy .... isn't the mysql module loaded? The phpinfo page does not display mysql information, but C: \ WINDOWS \ php. ini, we can see that extension = php_mysql.dll is not ";", and is correctly configured like other modules. I see that other modules have been correctly loaded. Depressed, I suspect that php_mysql.dll is not in the corresponding directory, but the file does exist. I read a lot of information, some of which say that there is a directory depth or there is a space in the directory name, but other modules can be correctly loaded. Shouldn't this be a directory error? Later, I found this prompt on an English website:
Copy the following files
Php5apache2. dll
Php5ts. dll
Php_mysql.dll
Libmysql. dll
Libmysqli. dll
In
C: \ windows \ system32
I found these Files in c: \ windows \ system32. I did not have these Files. I immediately copied these Files from x: \ Program Files \ PHP, start IIS to solve the problem !!..
Open the phpinfo page to view the mysql information, but the Configuration File path will change to the original Configuration File (php. ini) Path C: \ WINDOWS .. however, one of the following items appears:
Loaded Configuration File x: \ Program Files \ PHP \ php. ini
This is the php. ini file in the installation directory...