Install the PHP accelerator plugin Zendopcache

Source: Internet
Author: User
Tags zend

Zendopcache Introduction:

Download Link: Http://pecl.php.net/package/ZendOpcache

Zend Opcache accelerates php execution with opcode caching and optimizations. It improves PHP performance by storing precompiled PHP scripts in shared memory. This eliminates the process of reading PHP files from disk and compiling them. In addition, It also provides a small number of byte-code optimization patterns to make code execution faster
Compatibility:
The current version of Zend Opcache applies to PHP 5.2.*, 5.3.*, 5.4.*, and PHP-5.5 Development Branch. PHP5.2 may not be supported in the future.

Installation:

wget http://pecl.php.net/get/zendopcache-7.0.5.tgz tar zxf zendopcache-7.0.5.tgz cd zendopcache-7.0.5./configure-- With-php-config=/usr/local/webserver/php5.4/bin/php-configmake && make install edit php.ini (add the following): Zend_ Extension=/usr/local/webserver/php5.4/lib/php/extensions/no-debug-zts-20100525/opcache.soopcache.memory_ consumption=128opcache.interned_strings_buffer=8opcache.max_accelerated_files=4000opcache.revalidate_freq= 60opcache.fast_shutdown=1opcache.enable_cli=1 Restart php-fpm after the phpinfo () function to see if the function is enabled;

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/9D/9F/wKioL1mC1x6DD3qYAACFaCAUdSQ345.png-wh_500x0-wm_ 3-wmp_4-s_2435017784.png "title=" Qq20170803155549.png "alt=" Wkiol1mc1x6dd3qyaacfacaudsq345.png-wh_50 "/>



After installation, the load on the Web machine dropped from 8 points to more than 1 points


650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/9D/9F/wKioL1mC17Dwy_peAAAwcbsVcpc246.png "style=" float : none; "title=" QQ picture 20170803155703.png "alt=" Wkiol1mc17dwy_peaaawcbsvcpc246.png "/>

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/9D/9F/wKiom1mC17CgBf_gAAAblQiYMrs672.png "style=" float : none; "title=" Qq20170803155719.png "alt=" Wkiom1mc17cgbf_gaaablqiymrs672.png "/>


Install the PHP accelerator plugin Zendopcache

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.