apache2.4+php5.6 Environment Construction under windows

Source: Internet
Author: User

php:http://windows.php.net/download/

Get the installation package: Httpd-2.4.23-win64-vc11.zip


apache:https://www.apachelounge.com/download/vc11/

Get the installation package: Php-5.6.27-win32-vc11-x64.zip


A missing MSVCR110.dll error message occurred during Apache startup

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8D/1B/wKioL1iHTDaxPN69AAAxrpxiGsM068.png-wh_500x0-wm_3 -wmp_4-s_3924661775.png "title=" Qq20170124204044.png "alt=" Wkiol1ihtdaxpn69aaaxrpxigsm068.png-wh_50 "/>

Need to install a Microsoft V11 component: http://www.microsoft.com/zh-CN/download/details.aspx?id=30679

I am here 64-bit operating system, so download Vsu4\vcredist_x64.exe



C:\Users\liuzhen\Desktop\Apache24\conf\httpd.conf

Change the default configuration path to your current Apache directory path.


Add the following lines to increase support for PHP5:

# PHP5 Support

LoadModule Php5_module D:/php/php5apache2_4.dll

AddType application/x-httpd-php. php. html. htm

# Configure the path to PHP.ini

Phpinidir "d:/php"


DirectoryIndex index.php index.html join index.php Recognition Portal



php.ini File Note points

On Windows:

Extension_dir = "C:/users/liuzhen/desktop/php-5.6.27-win32-vc11-x64/ext"

Short_open_tag = on Open

Extension=php_mysql.dll Open

Extension=php_mbstring.dll


<?php phpinfo ()?>


Run as Administrator

Join the service: Httpd-k install-n Apache24

Uninstall Service: SC Delete Apache24



This article is from the "Liu" blog, make sure to keep this source http://liuzhenlife.blog.51cto.com/10591893/1894121

apache2.4+php5.6 Environment Construction under windows

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.