Ec (2); windows configuration apache2.2.4 + php5.2.5 + mysql5.0.41 + zend3.3.0 latest configuration 1, php5.2.5forwindows2, mysql-5.0.41forwindows3, apache_2.2.4ForWindows4, ZendOptimizer-3.0.2-Windows-i3865, ph script ec (2); script
Configure apache 2.2.4 + php 5.2.5 + mysql 5.0.41 + zend 3.3.0 in windows.
1. php5.2.5 for windows
2, mysql-5.0.41 for windows
3, apache_2.2.4 For Windows
ZendOptimizer-3.0.2-Windows-i386 4
5. phpMyAdmin 2.9.X
All the above software can be found on the cloud software site. Or go to the official website.
Configuration method:
Download the above software and then
I. Use software:
Apache_2.2.4-win32-x86-no_ssl.msi
Php-5.2.5-Win32.zip
Mysql-4.1.18-win32.zipor mysql-5.0.41-win32.zip
PhpMyAdmin-2.9.0
Configuration environment: Windows 2003/XP/2000
Ii. Steps
Note: Do not use spaces in any directory or file name during the installation process,
Instead of using D: Program Files, use D: ProgramFiles.
The installation directory is D: PC_webserver.
1. apache_2.2.4-win32-x86-no_ssl.msi
For apache server software, I downloaded the Windows version, and the configuration of the 2.0 series is similar.
Double-click to install apache_2.2.4. I will install it to D: PC_webserverApache2.2. Note that the directory name should not contain spaces. Otherwise, the following php settings will fail. After the installation is complete, apache runs automatically. Enter http: // 127.0.0.1 in the browser to check whether the default webpage is displayed. If you do not want to see this page, go to D: find httpd in the PC_webserverApache2.2conf directory. open the edit conf file and find DocumentRoot. "In the 2.0 series, several DocumentRoot files are found. Among them, there is a file similar to DocumentRoot" D: PC_webserverapache2.2.htdocs "change the path in the quotation marks to your own path. For example, DocumentRoot" D:/phproot "Now the default root directory is D: /phproot note that "/" is used here "/".
NOTE: If it is a ZIP package, you only need to extract Apache2.2 to the directory and run it under CMD.
D: PC_webserverApache2.2binhttpd-k install: install
D: PC_webserverApache2.2binhttpd-k start: start
That's all.
2. Install php5.2.5
Download the php-5.2.5-Win32 is generally a zip format compressed package, decompress to D: PC_webserver directory, and make the files in a folder, change the folder name php5, so that the next work is convenient. Now we can see that there are already two folders under D: PC_webserver. One is apache2 (a folder automatically generated by installing apache2.0.52) and the other is php5. My approach is to use one folder for each software, and these folders are in the same directory for easy searching. Now we can configure apache to support php5.
First, rename php. ini-dist under the D: PC_webserverphp5 directory to php. ini (in this version, php. ini does not need to be copied to the C: windows directory)
Next, we start to configure httpd under D: PC_webserverApache2.2conf. conf file to open httpd. conf (available in Notepad). Note that Apache2.2 is different from the previous version. Some configuration files are placed in the conf/extra directory, such as the httpd-languages ages. conf, user directory file httpd-userdir.conf
1. The original Apache2 in this step "find adddefacharcharset ISO-8859-1 to change it to adddefadefacharset GB2312" can not be required
2. Find DirectoryIndex index.html and add index.htm index. php index.html. var.