Configure apache + php and apachephp in windows

Source: Internet
Author: User

Configure apache + php and apachephp in windows

Tools Required

Apache

Php for windows (same version as apache, thread-safe)

Vc (Visual Studio C ++) selects the vc version based on apache and php versions

 

Installation and deployment

1. Install vc first

2. Decompress apache and php

3. Modify the path starting with "C: \" in the apache configuration file to the current path.

4. Configure apache to mount php (httpd. conf)

1 # Mount PHP 2 PHPIniDir "* \ php. ini "3 LoadModule php * _ module" * \ php * apache2_4.dll "4 5 6 # Add the following line to the <IfModule mod_mime.c> condition Block 7 AddType application/x- httpd-php. php 8 9 # If you want to use the syntax highlighted. add 10 AddType application/x-httpd-php-source to the phps file. phps11 12 13 # Load curl14 LoadFile "× \ php × \ libeay32.dll" 15 LoadFile "× \ php × \ ssleay32.dll"

 

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.