Initial PHP site

Source: Internet
Author: User

Recently the need to quickly set up a website, so Amoy a molded template, and then started. The process is more tortuous.

Test environment, WIN7 flagship +iis7.5+mysql5.6+php5.2.17+phpmanagerforiis-1.1.2+zendoptimizer-3.3.3-windows

1) IIS needs to be modified

By default, CGI is not turned on, so you need to add a tick before--cgi on the Windows feature options to select

(Control Panel in Win7-programs and features-turn Windows features on or off)

Tick OK after IIS feature add complete

2) Install mySQL5.6

3) Install PHP5.2.17

Baidu php5.2.17, download and then extract to c:/php (directory can be customized, because my PHP source code is 5.2.17 version, so use this version)

4) Configuration Phpmanagerforiis

The installation process is relatively simple and omitted.

After installation, locate Phpmanager in IIS and double-click the following screen to eject

Register New PHP version, select the corresponding php file "Php-cgi.exe", you can

Use "Check phpinfo ()" to detect (the port I set is 9000)

If the following interface appears, the IIS configuration is complete

Reference configuration: http://www.cnblogs.com/ChrisMo/p/4130519.html

Http://www.cnblogs.com/therock/articles/2237316.html

5) Install Zendoptimizer-3.3.3-windows

When you want to browse the site, the following interface appears suddenly

Then in an instant, XXX ran through the heart, and then you will find that zend .....

Some degree, found: Zend Optimizer (hereinafter referred to as ZO) with the method of optimizing the code to improve the execution speed of PHP applications. The principle of implementation is to optimize the code that is generated by running the compiler (Run-time Compiler) before it is finally executed.

That's no way, only installed.

1, check the Zendoptimizer installation path;

2,webserver Type Select IIS (Apache if Apache);

3) Select PHP.ini file location (just unzip PHP5.2.17 location);

4) Select the root directory where the PHP site is stored

Reference configuration: Http://help.suomao.com/forum.php?mod=viewthread&tid=82&extra=page%3D1

6) PHP website template set up a few tedious points

    • Available MySQL
    • IIS must increase CGI support
    • IIS supports PHPH and, if there is no phpmanagerforiis, it takes longer to configure
    • PHP version is a good choice (should choose 5.2.17, results selected 5.6, 5.3)
    • Zendoptimizer need to install (this depends on the source of the situation, the configuration of the website browsing is garbled "Zend ..." need to install, PHP5.3 renamed Zend Guard),

Initial PHP site

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.