Windows Wamp Environment 3 installation PHP7

Source: Internet
Author: User

Open it

Http://php.net

Click Download, select Windows downloads, select version according to System

Note the tip on the left:

With Apache versions of PHP that has the use of the Thread Safe (TS).

This means that Apache is a PHP version that requires thread safety.

Here you choose VC14 x64 Thread Safe Edition,

Http://windows.php.net/downloads/releases/php-7.0.9-Win32-VC14-x86.zip

Click Download.

Then unzip, in the C-disk Wamp directory, create a new PHP7 folder, copy the Php7 file into the system environment variables, as follows:

After the installation is complete, copy the C:/WAMP/PHP7 below php.ini-development and rename it to PHP.ini. This is the PHP configuration file, the PHP extension configuration information is here.

Now add Apache to the PHP7 extension. Open c:/wamp/apache2.4/conf/httpd.conf File

At the bottom of the add

LoadModule php7_module c:/wamp/php7/php7apache2_4.dlladdtype application/x-httpd-php. php. html. Htmphpinidir "c:/ WAMP/PHP7 "

is to add PHP7 run modules, and add the path to the. php file type support, as well as the php.ini configuration file

At this point, modify c:/www the following index.html file is index.php, with the content

<?php     phpinfo ();

Restart Apache, open the browser, view localhost

Configuration Complete!

Windows Wamp Environment 3 installation PHP7

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.