Configure Apache PHP and MySQL under Windows

Source: Internet
Author: User
Tags apache php php and mysql

In fact, this online has a lot of resources, but are old and old, Apache is for 2.2, PHP is 5.3 ago, MySQL also has a great change. Of course there are wamp this integration environment, but I still like to tinker with myself.

Apache2.4


http://www.apachelounge.com/download/
Http://www.apachehaus.com/cgi-bin/download.plx

Apache update to 2.4, Apache2.2 that will provide the installation package, 2.4 when there is only one compression package, you just unzip the copy to the directory you want as a server. After decompression you will see a description file in the directory, HTML format, carefully read, which provides how to start, how to start as a service, restart and other methods.

His default directory is C:/apache24, if you also extract to the Apache24 directory under the C drive, then the path in the configuration file does not have to be modified, generally starting after the access to localhost is normal. I generally like to build a www directory, the path becomes a c:/www/apache24, after the start will produce errors, prompting ServerRoot and DocumentRoot need to modify.

The configuration file for Apache24 and the previous 2.2 have some changes, first defined in the configuration:

" C:/apache24 "

This variable has been used since then, including when configuring the virtual host.
So we just need to modify this variable to be OK:

" C:/www/apache24 "

Then a difference is, just wrote a blog, is about configuring Apache listener multi-port, Apache configuration of multiple listening ports, for 2.2, 2.4 abandoned NameVirtualHost *:8011 , directly on:

<virtualhost *:8011>ServerName localhost:8011"${srvroot}/ htdocs/8011"</VirtualHost>

Can.

The rest and 2.2 are basically no different.

PHP5.5

This time the download of PHP5.5, and no difference before, is the support of Apache became version 2.4.

MySQL 5.6

Installation is the same as the general software, but this version of the installation package contains Workbench (official MySQL management tools, many language connector, etc.), configuration is also a lot easier. And there will be no previous version of the lag after the configuration is complete.

Basically, the overall process hasn't changed much, but there are some details that need attention.

Configure Apache PHP and MySQL under Windows

Related Article

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.