Home Backend Development PHP Problem PHP5.5+ APC installation method

PHP5.5+ APC installation method

Aug 15, 2020 am 11:02 AM
apc

PHP5.5 APC installation method: First decompress through the command "tar -zxvf apcu-4.0.8"; then enter the directory and execute the "make && make install" command; finally add to "php.ini "That's it.

PHP5.5+ APC installation method

Recommended: "PHP Video Tutorial"

Due to the PHP language characteristics (short link), sharing cannot be achieved memory to improve performance. The emergence of apc provides a solution. But it is a pity that PHP has officially abandoned this extension after 5.5.

Fortunately, the apcu extension has appeared to provide subsequent functions, and the api has not changed. Therefore, the PHP version can be upgraded smoothly.

Official download address: http://pecl.php.net/package/APCu

Choose the corresponding version according to your own PHP version. Mine is the PHP5.6 version and the stable version 4.0.8. of.

Specific installation:

解压 :
tar -zxvf apcu-4.0.8  
 
进入目录后执行:
 
/usr/local/php/bin/phpize
 
./configure --with-php-config=/usr/local/php/bin/php-config --enable-apcu --enable-apcu-debug
 
make && make install
Copy after login

Finally add it to php.ini and it will be OK

The above is the detailed content of PHP5.5+ APC installation method. For more information, please follow other related articles on the PHP Chinese website!

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

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1269
29
C# Tutorial
1248
24