In WINDOWS php5.2.4 + mysql6.0 + apache2.2.4 + ZendOptimizer-3.3.0 configuration

Source: Internet
Author: User
WINDOWS php5.2.4 + mysql6.0 + apache2.2.4 + ZendOptimizer-3.3.0 configuration and other basic version installation the same! First: install http server apache first: install http server apache
Apache.1.jpg(43.95 KB)

Apache.2.jpg(55.15 KB)
Apache.3.jpg(64.33 KB)
Apache.4.jpg(41.78 KB)
Apache.5.jpg(45.91 KB)
Apache.6.jpg(28.96 KB)
Apache.7.jpg(31.9 KB)

Apache installation is complete. if the apache port is occupied, Please disable your thunder or some anti-virus software!

Step 2: install PHP:
1. unzip the php-5.2.4-win32.zip package, copy it to C: \, and rename it C: \ PHP5.
2) copy the C: \ PHP5 \ php. ini-dist file to X: \ WINNT and rename it php. ini.
3) (Method 1) open php. ini to modify the parameters and set extension_dir
Extension_dir = "C:/php5/ext"
(Method 2) Copy *. dll under php5 and *. dll under ext to system32 under windows! (This is my use)


Step 3: load the php module:
Set the website root directory:
$Pu@7hb?#ozv(j4dwfzh7jr.jpg(52.84 KB)

In the httpd. conf file of apache, set ServerRoot (the server root, that is, the installation directory of apache)
ServerRoot "F: \ php"
Set DocumentRoot (the website directory, that is, the directory where the web pages on your machine are browsed), for example:
DocumentRoot "F: \ php"
Modify: (optional) set the silent homepage
Y'cp@ht%9%wi5%0e%%a8mm.jpg(78.13 KB)


DirectoryIndex phpinfo. php index.html

Install it using modules!
Add at the end of the file
@ Ms$eg}(h('d@a% B _z5s@ OK .jpg(43.16 KB)

LoadModule php5_module c:/php/php5apache2_2.dll
AddType application/x-httpd-php. php
Install using CGI:
Same as above
In the ScriptAlias section, add the following lines
ScriptAlias/PHP5/"C:/php /"
In the AddType segment, add the following lines
AddType application/x-httpd-php. php
Action application/x-httpd-php "/php5/php-cgi.exe"
Step 4:
Copy the C: \ PHP5 \ php. ini-dist file to X: \ WINNT and rename it php. ini.
In the php. ini configuration file, select the module to be loaded when running PHP.
Modify it under [DATE]; date. timezone = date. timezone = PRC

Remove the line in the following format in the php. ini file to load the corresponding module. note: an error occurs when the module is loaded incorrectly.
Extension = php_bz2.dll
Extension = php_c2.16.dll
Extension = php_crack.dll
... Add these!
2. jpg(58.29 KB)

TestPhp program: Save it to drive F and enter http: // localhost: add your port number/in the browser!

Step 5:
Install mysql DataLibrary!
1. jpg(37.61 KB)

Continue to install
14. jpg(50.97 KB)

If uft8 is used, Select Utf8Use gb2312 to select gb2312! '
Limited space ImageNo UploadCome up!
Final completion!

Step 2:
Install ZendOptimizer
1. jpg(39.81 KB)

Follow the prompts to continue the installation until the installation is complete!

Finally, configure phpmyadim:
Decompress the file and place it under the root directory of the website:
Modify config. default. php under libraries and rename it config. inc. php and save it in the root directory as follows:
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'config'; change
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'Cookies ';
$ Cfg ['ultconnectioncollation'] = 'utf8 _ unicode_ci ';
$ Cfg ['defaultcharset'] = 'utf8 ';

The configuration is complete! This is a rough description by myself. I hope you can make some mistakes, MeWill be modified immediately!
You can use QQ or leave a message on the forum!

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.