Apache PHP MySQL

Source: Internet
Author: User

After the installation of Apache PHP MySQL is complete,

1. Fixed httpd. conf.

You can modify the specific content according to the Apache installation tutorial found on the network. This step mainly involves configuring Apache parameters.

2. Add code supporting PhP5 and MySQL to httpd. conf.
LoadFile G:/Server/PhP5/libmysql. dll
Loadmodule php5_module G:/Server/PhP5/php5apache2_2.dll
Phpinidir "G:/Server/PhP5"
Addtype application/X-httpd-PHP. php

The LoadFile row is used to support MySQL, and the following three rows are used to support php5.2. Correct the specific path. If MySQL is not supported, the LoadFile line can be left empty.

3. Modify PHP. ini (Use PHP. ini-Dist or PHP. ini-recommended)

Modify extension_dir = "G: \ Server \ PhP5 \ Ext" (use extension_dir to change the path to the ext directory of your PhP5)

Remove the; Extension = php_gd2.dll and; semicolon before extension = php_mysql.dll. If you do not need MySQL. You can remove the semicolon before php_mysql.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.