Configuring Php+apache Issues

Source: Internet
Author: User

Configure Apache:

  1. Open php config file httpd.conf file find LoadModule, add PHP module

    LoadModule php5_module "D:/php/php5apache2_2.dll"
    Phpinidir "d:/php"

  2. or open the http.conf file to find AddType add "AddType application/x-httpd-php. php" Below this is a file that extends PHP type
  3. Add Project directory: Open http.conf, find DocumentRoot "d:/www" and <directory "d:/www" > can modify its project directory arbitrarily I'm here on the D-plate.

To configure PHP:

  1. Copy the php.ini-dist and change it to php.ini
  2. Find the extension, the one you need to open is to remove the previous ";" Semicolon

Configuring Php+apache Issues

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.