Manual 12-install the php accelerator ZendOPcache

Source: Internet
Author: User
Php54wgethttp: peclphpnetgetzendopcache-702tgztarxzfzendopcache-702tgzcdzendopcache-702phpizeconfiguremakemakeinstallphp55 has been built in, directly configure the line zend php 5.4
Wget http://pecl.php.net/get/zendopcache-7.0.2.tgztar xzf zendopcache-7.0.2.tgzcd zendopcache-7.0.2phpize./configuremakemake install



Php5.5 is built in, just configure it directly
Zend_extension =/usr/local/lib/php/extensions/no-debug-non-zts-20100525/opcache. so; the above zend_extension path is opcache. so path opcache. memory_consumption = 128opcache. interned_strings_buffer = 8opcache. max_accelerated_files = 4000opcache. revalidate_freq = 60opcache. fast_shutdown = 1opcache. enable_cli = 1


/Usr/local/php/sbin/php-fpm // start

You can use phpinfo to check whether the configuration takes effect. it is my PHP Extension configuration:


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.