To upgrade PHP, we first have to download a software that automatically installs PHP components into IIS, and recommends the PHP installation package developed by the company, and we can go to their official website www.7i24.com to download the latest version.
1, if the server has been installed Zend, please uninstall him first, and so on PHP upgrade and then reinstall.
2, stop IIS, Add/Remove components inside Delete the original PHP installation package.
3, delete C:\windows\php.ini.
4, install the latest extraterrestrial PHP installation package, and then restart IIS.
For special reasons, you cannot upgrade PHP users, we ask you to make the following modifications to C:\windows\php.ini:
Find: Disable_functions = this line, instead
Disable_functions=exec,system,passthru,popen,pclose,shell_exec,proc_open,curl_exec,multi_exec,dl,chmod,
Stream_socket_server,popepassthru,pfsockopen,gzinflate,
Note that all content should be on a single line, do not wrap
Find: Disable_classes = This line, change to Disable_classes =dotnet, after saving restart IIS immediately after the entry into force.