search
Homephp教程php手册Linux系统下让PHP提高性能的工具APC

Linux系统下让PHP提高性能的工具APC

Jun 06, 2016 pm 07:52 PM
apclinuxphptoolsystemEnterhigh performance

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入 apc 安装下了最新的APC-3.0.18.tgz,解压,进入目录 apc下载地址 http://pecl.php.net/package/APC /usr/local/php/bin/phpize (生产configure文件) 。/configure ――enable-apc ――enable-apc-m

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入

    apc 安装下了最新的APC-3.0.18.tgz,解压,进入目录

    apc下载地址 http://pecl.php.net/package/APC

    /usr/local/php/bin/phpize (生产configure文件)

    。/configure ――enable-apc ――enable-apc-mmap ――with-php-config=/usr/local/bin/php-config

    Make make.Install

    cp /usr/local/lib/php/extensions/no-debug-zts-20060613/apc.so /usr/local/lib/php/extensions/apc.so

    chmod 755 /usr/local/lib/php/extensions/apc.so

    配置/etc/php.ini 末尾加入

    extension=apc.so

    apc.enabled = 1

    apc.cache_by_default = on

    apc.shm_segments = 1

    apc.shm_size = 128

    apc.ttl = 7200

    apc.user_ttl = 7200

    apc.num_files_hint = 1024

    apc.write_lock = On

    apc.gc_ttl=3600

    apc.ttl=0

    apc.mmap_file_mask=/tmp/apc.XXXXXX

    重启apache

Linux系统下让PHP提高性能的工具APC

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor