How to upgrade the PHP version under Windows Server _win Server

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.