Php + apache + mysqlwindows installation _ MySQL

Source: Internet
Author: User
Install apache in php + Apache + mysqlwindows

To build a php runtime environment in windows, refer to two articles.

Http://wenku.baidu.com/link? Url = response

Http://www.cnblogs.com/tigertall/archive/2010/01/28/1658869.html

Configure php first:

Open the php. ini-development file and copy the file named php. ini.



To enable php to call other modules, search by the extension keyword and remove the semicolon from the previous module. remove extension = php_mysql.dll.


Then configure apache:

1. open the httpd. conf file in the apache installation folder and add

(Suppose your php is in D:/PHP/php-5.3.1-Win32-VC6-x86)

LoadModule PHP 5_module D:/PHP/php-5.3.1-Win32-VC6-x86/php5apache2_2.dll

PHPIniDir "D:/PHP/php-5.3.1-Win32-VC6-x86"




2. define the types of files that need to be processed by the php parser.

Search by the keyword AddType application. you can define the php file type that can be executed,

Add AddType application/x-httpd-php. php nearby (note space)

Resources in: http://download.csdn.net/detail/guanweiliang/7433709

Appendix:

Resources in: http://download.csdn.net/detail/guanweiliang/7433723

Http://download.csdn.net/detail/guanweiliang/7433709

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.