List of installed software:
Apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi
Mysql-5.1.28-rc-win32.zip
Php-5.2.6-win32.zip
Phpmyadmin-3.0.0-rc1-all-languages.zip
Zendoptimizer-3.3.0a-windows-i386.exe
The installation directories are:
C:/php/apache2
C:/php/mysql5
C:/php/php5
C:/php/apache2/htdocs/admin
C:/php/zend
First, install Apache.
All the way next.
At this point, you need to specify the network Domain, Server name, and mailbox information, seemingly casually designated on the line.
After the installation is complete, open IE, the address bar input: http://localhost will be displayed after: It works! prompt information, indicating that the installation was successful.
Second, install MySQL.
Same way next, and set the root password to root, the database encoding mode UTF8.
Third, install PHP.
Unzip PHP into C:/PHP/PHP5, change the php.ini-dist file to PHP.ini, and copy Libmysql.dll to C:/windows.
Edit the c:/php/apache2/conf/httpd.conf file,
Conf Code Collection Code
#LoadModule Vhost_alias_module modules/mod_vhost_alias.so
Add a row below:
Conf Code Collection Code
LoadModule php5_module "C:/php/php5/php5apache2_2.dll"
In
Conf Code Collection Code
AddType application/x-compress. Z
AddType application/x-gzip. gz. tgz
Under Add:
Conf Code Collection Code
AddType application/x-httpd-php. php. phtml
Phpinidir "C:/php/php5/php.ini"
At this point, the Apache server has been able to parse PHP files.
Modify the C:/php/php5/php.ini file to
Conf Code Collection Code
; Be sure to appropriately set the EXTENSION_DIR directive.
Under Join
Conf Code Collection Code
Extension_dir= "C:/php/php5/ext"
and put
INI Code Collection Code
Extension=php_mysql.dll
Extension=php_mysqli.dll
Extension=php_pdo.dll
Extension=php_pdo_mysql.dll
The former ";" is removed.
Iv. installation of Zend.
You need to specify directories for PHP.ini and Apache.
Five, the Phpmyadmin-3.0.0-rc1-all-languages.zip decompression to C:/php/apach2/htdocs under, and renamed to Admin.
Lamp installed separately (under Windows)