After configuring the PHP environment on the basis of the above article, I found that there was still a problem during the discuz forum!
Recommended function name check results
Mysql_connect () is not supported. Check whether the mysql module is correctly loaded.
Fsockopen () supports none
Gethostbyname () supports none
File_get_contents () supported none
Xml_parser_create () supports none
The solution is as follows:
Note the following when integrating IIS and PHP:
Install PHP
(1) decompress the downloaded php-5.1.4-win32.zip file and copy it:
X: \ Server_Core \ PHP;
(2) Go to the X: \ Server_Core \ PHP folder and rename php. ini-dist to php. ini;
(3) Open the php. ini file and find:
Extension_dir = "./"
Change it;
Extension_dir = "X: \ Server_Core \ PHP \ ext"
(4) find Windows Extensions.
In the dynamic module configuration under Windows Extensions, You need to enable the following module support: (remove the number before each line of the module configuration)
Extension = php_mbstring.dll
Extension = php_gd2.dll
Extension = php_mysql.dll
(5) find:
Disable_functions =
Changed:
Disable_functions =
Passthru, exec, system, popen, chroot, escapeshellcmd, escapeshellarg, shell_exec,PrOc_open, proc_get_status, article 4:
--------------------------------------------------------------------------------
(4) find Windows Extensions.
In the dynamic module configuration under Windows Extensions, You need to enable the following module support: (remove the number before each line of the module configuration)
Extension = php_mbstring.dll
Extension = php_gd2.dll
Extension = php_mysql.dll-----> The above error is reported because the Semicolon ";" is not removed in front of this line. That is, remove the semicolon and restart the Apache server !!!