Configure Apache 2.2.4+php 5.2.5+mysql 5.0.41+ze under Windows

Source: Internet
Author: User
Tags generator win32 phpmyadmin
-->

Configure Apache 2.2.4+php 5.2.5+mysql 5.0.41+zend 3.3.0 The latest configuration under Windows

1,php5.2.5 for Windows

2, mysql-5.0.41 for Windows

3, apache_2.2.4 for Windows

4, zendoptimizer-3.0.2-windows-i386

5,phpmyadmin 2.9.X

All of the above software can be found in the Sky software station. Or find it on the official website.

Configuration method:
Download the above software, and then
First, the use of software:
Apache_2.2.4-win32-x86-no_ssl.msi
Php-5.2.5-win32.zip
Mysql-4.1.18-win32.zip or Mysql-5.0.41-win32.zip
phpMyAdmin-2.9.0
Configuration environment: Windows 2003/xp/2000
Ii. Specific steps
Note: The installation process, any directory and file name do not use spaces,
Do not use D:program Files to use D:programfiles
This installation directory is D:pc_webserver
1. Apache_2.2.4-win32-x86-no_ssl.msi
Apache Server Software, I downloaded the win version, the 2.0 series configuration are similar.
Double-click the install apache_2.2.4, I install it to d:pc_webserverapache2.2 Note that the directory name does not contain spaces, or the following PHP will be set up error. After the installation, Apache automatically run, in the browser input http://127.0.0.1 is not showing the default page, if you do not want to see this page, you can go to the d:pc_webserverapache2.2conf directory to find Httpd.conf opens the edit and looks for DocumentRoot "in the 2.0-series version, you'll find several documentroot, which are similar to DocumentRoot" d:pc_ Webserverapache2.2.htdocs "Change the quotes inside the path to your own path, such as DocumentRoot" D:/phproot "now the default root directory is D:/phproot Note that this is the"/".
Note: If it is a zip compression package, simply extract the Apache2.2 to the directory, and then run the cmd
D:pc_webserverapache2.2binhttpd-k Install: Installation
D:pc_webserverapache2.2binhttpd-k Start: Beginning
It's okay.
2. Installation php5.2.5
Downloaded Php-5.2.5-win32 is generally a zip format of the package, extracted into the D:pc_webserver directory, and make files in a folder, change the folder named PhP5, so that the next work. Now we see that there are two folders under D:pc_webserver, one is apache2 (install apache2.0.52 automatically generated a folder) another is php5 my way is every software a folder, and these files are sandwiched in the same directory, This makes it easy to find. OK, so we're going to start configuring Apache to support PHP5.
First, find the php.ini-dist renamed to PHP.ini in the D:PC_WEBSERVERPHP5 directory (PHP.ini does not need to be copied to the C:windows directory in this version)

Next, we start to configure the d:pc_webserverapache2.2conf under the httpd.conf file, open httpd.conf (available Notepad open), note that Apache2.2 and previous versions of the difference between the partial configuration file placed to the conf/ Extra directory, such as language file httpd-languages.conf, user directory file httpd-userdir.conf
1, the original Apache2 in this step "find Adddefaultcharset iso-8859-1 change it to Adddefaultcharset GB2312" can not need
2, find DirectoryIndex index.html in the back to join Index.htm index.php Index.html.var

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.