Installing Apache and PHP

Source: Internet
Author: User

A. Download

Because I installed VS2015.

So under the httpd x64 Vc14 Thread Safe's

and PHP is down.

7.1.1 x64 Vc14

Two. Configuration

HTTPD configuration is to modify the/apache24/conf/httpd.conf file

The main changes are a series of paths, but if you unpack to the C drive at the outset, you don't have to change those paths. Because the default is c:/apache24/... blabla.

Add after httpd.conf

# PHP7 Supportloadmodule php7_module d:/php/php7apache2_4.dlladdtype application/x-httpd-php. php. html. htm# Configure The path to Php.iniphpinidir "d:/php"

To support PHP. Note here to be compatible with the version, the beginning of the Vc14 PHP, VC10 httpd (can be seen in the ReadMe.txt VC several), the result is prompted to start the can ' t load xxxx

Configuration of PHP

Copy the php.ini-development and rename one for php.ini

And then set the next path to MySQL or something

Installing Apache and PHP

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.