CWP - How to update APCu from v5.1.12 to the latest and stable APCu v5.1.18
-
Hi,
My CWP webserver is Nginx & Varnish & Apache with NGINX as a main server and forced to use PHP-FPM
How to update APCu from v5.1.12 to the latest and stable ACPu v5.1.18 ?
Thanks in advance for the support.
-
hi
this will always download the latest versionfollow the steps :
for php 7.3 :
cd /usr/local/src rm -rf apcu* curl https://pecl.php.net/get/APCu -o apcu.tgz tar -xf apcu.tgz cd apcu-* /opt/alt/php-fpm73/usr/bin/phpize ./configure --with-php-config=/opt/alt/php-fpm73/usr/bin/php-config make && make install
for php 7.2 :
cd /usr/local/src rm -rf apcu* curl https://pecl.php.net/get/APCu -o apcu.tgz tar -xf apcu.tgz cd apcu-* /opt/alt/php-fpm72/usr/bin/phpize ./configure --with-php-config=/opt/alt/php-fpm72/usr/bin/php-config make && make install
for php 7.1 :
cd /usr/local/src rm -rf apcu* curl https://pecl.php.net/get/APCu -o apcu.tgz tar -xf apcu.tgz cd apcu-* /opt/alt/php-fpm71/usr/bin/phpize ./configure --with-php-config=/opt/alt/php-fpm71/usr/bin/php-config make && make install
for php 7.0 :
cd /usr/local/src rm -rf apcu* curl https://pecl.php.net/get/APCu -o apcu.tgz tar -xf apcu.tgz cd apcu-* /opt/alt/php-fpm70/usr/bin/phpize ./configure --with-php-config=/opt/alt/php-fpm70/usr/bin/php-config make && make install
-
Hi, "sandeep" you are the number ONE, your solution works perfectly, thanks you !
-
I did it for php7.2. I restart all services including php-fpm, but when I look from info, it looks old.
-
@choqo whats the version ?
-
@sandeep
version => apcu-5.1.19old version : http://prntscr.com/vi5gzp
-
@choqo it is the latest version
-
@sandeep
info should not appear in 5.19? -
@choqo restart fpm service if you install it for FPM
-
@sandeep
i started but there was no change -
@choqo which version of php-fpm you're installing ?
-
-
@choqo try this
cd /usr/local/src rm -rf apcu* curl https://pecl.php.net/get/APCu -o apcu.tgz tar -xf apcu.tgz cd apcu-* /opt/alt/php-fpm72/usr/bin/phpize ./configure --with-php-config=/opt/alt/php-fpm72/usr/bin/php-config make && make install
and restart fpm service :
systemctl restart php-fpm72
-
@sandeep said in CWP - How to update APCu from v5.1.12 to the latest and stable APCu v5.1.18:
systemctl restart php-fpm72
http://prntscr.com/vi7w5i
Unfortunately the result has not changed -
@sandeep said in CWP - How to update APCu from v5.1.12 to the latest and stable APCu v5.1.18:
@choqo try this
cd /usr/local/src rm -rf apcu* curl https://pecl.php.net/get/APCu -o apcu.tgz tar -xf apcu.tgz cd apcu-* /opt/alt/php-fpm72/usr/bin/phpize ./configure --with-php-config=/opt/alt/php-fpm72/usr/bin/php-config make && make install
and restart fpm service :
systemctl restart php-fpm72
run once again it will be resolved
-