Install PHP APC with yum under linux

高洛峰
Release: 2016-11-02 10:03:57
Original
1376 people have browsed it

Alternative PHP Cache (optional PHP cache), relies on the PECL extension library

Install using source code, just use yum:
First, install the apc dependency package:
yum install php-pear php-devel httpd-devel pcre-devel gcc make


Then use pecl to install apc:
pecl install apc


Add apc extension configuration file:
echo "extension=apc.so" > /etc/php.d/apc. ini


Finally, remember to restart the server:
service httpd restart, and then use PHP’s phpinfo() function to detect:

Reference documentation:

 1) Install PHP APC with yum under linux

 2) Use Yum Quickly install nginx+php-fpm+apc


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!