Lamp installed separately (under Windows)

Source: Internet
Author: User
Tags zend

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)

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.