The php. ini file does not have the parameter configured correctly.
Solution:
(1) Open the php. ini file and find:
Extension_dir = "./"
Change it;
Extension_dir = "X: \ PHP \ ext" (php Extension Program directory)
(2) find Windows Extensions and remove the number before each line configured by the module.
Extension = php_mbstring.dll
Extension = php_gd2.dll
Extension = php_mysql.dll
(3) find:
Disable_functions =
Changed:
Disable_functions =
Passthru, exec, system, popen, chroot, escapeshellcmd, escapeshellarg, shell_exec, proc_open, proc_get_status
(4) system environment variables (original by rabbit8.cn)
Add the system environment variable. variable name: PHPRC variable value: c: \ php (php Directory)
Save the php. ini file and copy it to C: \ Windows \
Note: If php. ini parameter error, although directly modify C: \ Windows \ php. ini parameter, but cannot take effect immediately. restart IIS to use the new parameters!