Installing PHP 7 APC Ubuntu 16.04 Xenial LTS
You are Welcome! The Tutorial Shows You Step-by-Step How to Install and Enable the Latest PHP 7 Pecl APCu Extension for Ubuntu 16.04 Xenial Xerus LTS i386/amd64 GNU/Linux Server/Desktop.
The Best Way to Install the APC Module is to Provide Directly to Download, Compile and Install the Latest Pecl APCu Release.
APCu is APC stripped of opcode caching. PHP 7 support is available as of APCu 5.0.0.
APCu can provide a compatibility mode, such that it can provide a drop in replacement for the applicable parts of APC.
How to Install/Enable PECL Command on Ubuntu LinuxPHP 7 PECL for Ubuntu
Open Terminal Window
(Press “Enter” to Execute Commands).
Or Login into Server Shell…
Install the Required Package:
sudo apt install libpcre3-dev
Download the Latest PHP Pecl APCu ModuleLatest Pecl APCu
Access the Target location
(Usually Downloads go in the Home folder or when Downloaded with Firefox may be into the Temporary directory /tmp/mozilla*)
Or when downloaded with Firefox maybe:
To Verify that it’s there List the contents with:
Installing APC Extension:
tar xvzf APC*
sudo make install
Enabling the PHP APC Extension for Apache Web Server:
sudo nano /etc/php/7.0/cli/php.ini
on the Extensions Section:
Ctrl+x to Save & Exit.
ReStart Apache to Load the APC Module:
service apache2 restart
Best APC SetUp for ProductionFastest APC SetUp