1 -- Extract the PHP package to D:/php
2 -- Install Apache to Disk D
network domain:localhost
server name:localhost
administrator's email address: toyean@msn.com
3 -- Copy the php5apache2_2.dll file under PHP to apache/modules
4 -- Open the apache/conf/httpd.conf file
5 -- Copy LoadModule php5_module "D:/Apache 2.2/modules/php5apache2_2. dll"
6 -- Copy AddType application/x-httpd-php. php
7 -- Create a new project directory, such as: (d:/www)
8 -- Modify two documentRoot values to d:/www
9 ---- DirectoryIndex index.html followed by index.php index.htm
10 -- Rename the php.ini-recommended file under the php folder to the php.ini file
11 -- Modify the extension_dir value of the php.ini file to "D:/php/ext"
12 --- Remove extension=php_curl.dll、extension=php_gd2.dll、extension=php_mbstring.dll、extension=php_mysql.dll、extension=php_mysqli.dll、extension=php_zip.dll Front semicolon.
Modify display_errors=on
Copy libmysql.dll, php5apache2_2.dll, php5ts.dll, php.ini to C: WINDOWS
13 --- Restart Apache
14 --- Self set domain name: C: WINDOWS system32 drivers etc hosts Open Add: 127.0.0.1 www.toyean.com
15 --- Install MySQL
16 --- Extract phpmyadmin to the project directory, such as (d:/www), and run https://www.toyean.com/ Phpmyadmin/is fine.
The above is the configuration method of PHP running environment. Next, we will introduce a tool for PHP integrated running environment— — APMServ 5.2.6
APMServ 5.2.6, The versions of integrated software have been upgraded, and support for Nginx, Memcached, WinSCP, and some Linux commands has been added.
Software name: APMServ 5.2.6
Software author: Zhang Yan
Authorization method: free software
Issued on: October 21, 2008
Operating environment: WinNT/Win2000/WinXP/Win2003
File size: 20.4MB
Software introduction:
APMServ 5.2.6 is a fast build with graphical interface Apache 2.2.9、PHP 5.2.6、MySQL 5.1.28&4.0.26、Nginx 0.7.19、Memcached 1.2.4、phpMyAdmin 2.11.9.2、OpenSSL、SQLite、ZendOptimizer, as well as ASP 、 CGI, Perl website The server Green software of the platform. It does not need to be installed. It has flexible mobility. When copying it to other directories, partitions or other computers, just click the start button in APMServ.exe to automatically make relevant settings, install Apache and MySQL as system services and start them. APMServ combines the advantages of Apache's stability and security, and has the same convenient graphical management interface as IIS. It also supports MySQL 5.0&4.0, virtual host, virtual directory, port change SMTP、 Upload size limit, automatic global variable, SSL certificate creation, cache performance optimization and other settings can be completed with a mouse click.
1. Note: The path of APMServ program cannot contain Chinese characters and spaces.
2. MySQL default user name: root, password is empty
3、 MySQL data base File storage directory: MySQL 5.1 data or MySQL 4.0 data
4. Website root directory [HTML, PHP] www htdocs [ASP] www asp [CGI, Perl] www cgi bin
5. Please use 127.0.0.1 to access this machine
6. Non default port, such as 127.0.0.1:800
7. If you select Memcached in Extended Functions, its port is 11211
8. APMServ integrates the following software:
Apache 2.2.9 [HTTP Server]
Nginx 0.7.19 [HTTP Server]
NetBox 2.8 Build 4128 [HTTP server+ASP script Interpretation engine]
PHP 5.2.6 [PHP Script Interpretation Engine]
MiniPerl 5.8 [Perl Script Interpreter]
Memcached 1.2.4 [key value memory cache system]
MySQL 5.1.28 [MySQL Database Server]
MySQL 4.0.26 [MySQL Database Server]
PhpMyAdmin 2.11.9.2 [Online MySQL Database Management Tool]
EAccelerator 0.9.5.3 [PHP Script Acceleration Engine]
ZendOptimizer 3.3.3 [PHP Script Acceleration Engine]
OpenSSL 0.9.8h [HTTPS (SSL) secure transport protocol]
Add ons:
- Perl and CGI support (ActivePerl needs to be downloaded):
APMServ 5.2.6 comes with MiniPerl, which can run simple Perl and CGI programs. If you run complex Perl and CGI programs, download ActivePerl and install it in the usr directory under the root directory of the partition where APMServ resides. If the directory where APMServ is located is E: APMServ5.2.6, select the installation path of ActivePerl as E: usr
ActivePerl 5.8.8.819 for Windows
matters needing attention:
Xunlei, Skype, PPLive, BT and other software will occupy port 80 by default after starting, which causes Apache to fail to start. Solution: First close these software, and then start these software after starting APMServ.
Software screenshot:
One main interface:

II Virtual host setting interface:
