Php5.2.6 mysql6.0.4 apache2.2.8 zendoptimizer 3.3.3 configuration in Windows

Source: Internet
Author: User

Related Software:
Http://cn.php.net/get/php-5.2.6-Win32.zip/from/a/mirror
Http://dev.mysql.com/get/Downloads/MySQL-6.0/mysql-6.0.4-alpha-win32.zip/from/pick? Done = ea11691f4869fa
Http://httpd.apache.org/download.cgi
Http://www.zend.com/en/products/guard/downloads
Http://www.phpmyadmin.net/home_page/downloads.php

1. You only need to select the path below to install Apache 2.2.8 all the way to next
2. install PHP 5.2.6
1. Decompress php-5.2.6-win32.zip
2) copy the php. ini-Dist file to the Windows directory and change it to PhP. ini.
3) Change extension_dir = "./" to extension_dir = "D:/PHP/EXT"
4) apply some PHP extensions: remove the annotator "before the extension below ";"
Extension = php_mbstring.dll
Extension = php_mysql.dll
Extension = php_curl.dll
Extension = php_dbase.dll
Extension = php_gd2.dll
Extension = php_ldap.dll
Extension = php_zip.dll
5) Copy D:/PHP/libmysql. DLL to C:/Windows/system32.
6) Modify session. save_path = "D:/PHP/tmp" in PHP. ini"
7) Modify upload_tmp_dir = "D:/PHP/tmp" in PHP. ini"
8) Open D: \ PHP \ apache \ apache2 \ conf \ httpd. conf and modify it as follows:
Modify DocumentRoot "E:/htdocs"
Modify the first directory tag under DocumentRoot and point it to the PHP running directory.
Modify directoryindex (the file opened by default when the folder is opened, which can be manually added later)
Directoryindex index.html. var index. php index.htm
Add
LoadFile D:/PHP/php5ts. dll
LoadFile D:/PHP/libmysql. dll
Addtype application/X-httpd-PHP. php
Loadmodule php5_module "D:/PHP/php5apache2_2.dll"
3. MySQL 6.0.4 Alpha Installation
1) select Custom next
2) Select the installation directory "Next ".
3) install
4) all the way to next until the prompt for configuring MySQL
5) Next next, select server machine.
6) Next next select manual setting connections and select 300 +
7) Next next select manual selected default caharacter set/collation default encoding is gb2312 or GBK or UTF-8 (recommended UTF-8)
8) Select include bin directory in Windows path.
9) set the root password. You can select modify Security Settings as null (remove the check box) and install phpMyAdmin before setting it.

4. Install phpMyAdmin 2.11.6
1. Decompress phpmyadmin-2.11.6-all-languages.tar.bz2 to E: \ htdocs \ phpMyAdmin
2) Copy config. Default. php under libraries to phpMyAdmin and rename it config. Inc. php.
3) Change $ cfg ['pmaabsoluteuri '] = "; to $ cfg ['pmaabsoluteuri'] =" http: // localhost/PHPmyAdmin /";
4) Modify $ cfg ['servers'] [$ I] ['auth _ type'] = 'config '; for $ cfg ['servers'] [$ I] ['auth _ type'] = "HTTP ";
5. Install zendoptimizer 3.3.3
There is nothing to pay attention to. Select the directory (select the Apache installation directory in the middle of zendoptimizer 3.3.3) and click Next ~

PS: The company's computer has changed to a new one, and we can see that PHP and MySQL both have new versions, so we have configured a new environment by the way. in general, the change is not significant. mySQL 5 and 6 are installed at the same time. the compatibility has not been tested. wait for the company to be busy and test it ..

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.