Navigation

    • Register
    • Login
    • Search
    • Recent
    • Users
    • Groups

    CWP - How to update APCu from v5.1.12 to the latest and stable APCu v5.1.18

    CWP - Panel
    3
    16
    169
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Automata
      Automata last edited by Automata

      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.

      1 Reply Last reply Reply Quote 0
      • sandeep
        sandeep last edited by sandeep

        hi
        this will always download the latest version

        follow 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
        
        1 Reply Last reply Reply Quote 0
        • Automata
          Automata last edited by

          Hi, "sandeep" you are the number ONE, your solution works perfectly, thanks you !

          1 Reply Last reply Reply Quote 0
          • C
            choqo last edited by

            I did it for php7.2. I restart all services including php-fpm, but when I look from info, it looks old.

            sandeep 1 Reply Last reply Reply Quote 0
            • sandeep
              sandeep @choqo last edited by

              @choqo whats the version ?

              C 1 Reply Last reply Reply Quote 0
              • C
                choqo @sandeep last edited by

                @sandeep
                version => apcu-5.1.19

                old version : http://prntscr.com/vi5gzp

                sandeep 1 Reply Last reply Reply Quote 0
                • sandeep
                  sandeep @choqo last edited by

                  @choqo it is the latest version

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    choqo @sandeep last edited by

                    @sandeep
                    info should not appear in 5.19?

                    sandeep 1 Reply Last reply Reply Quote 0
                    • sandeep
                      sandeep @choqo last edited by sandeep

                      @choqo restart fpm service if you install it for FPM

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        choqo @sandeep last edited by

                        @sandeep
                        i started but there was no change

                        sandeep 1 Reply Last reply Reply Quote 0
                        • sandeep
                          sandeep @choqo last edited by

                          @choqo which version of php-fpm you're installing ?

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            choqo @sandeep last edited by

                            @sandeep
                            http://prntscr.com/vi7t1q

                            http://prntscr.com/vi7tk0

                            php 7.2.34

                            sandeep 1 Reply Last reply Reply Quote 0
                            • sandeep
                              sandeep @choqo last edited by sandeep

                              @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

                              C sandeep 2 Replies Last reply Reply Quote 0
                              • C
                                choqo @sandeep last edited by

                                @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

                                1 Reply Last reply Reply Quote 0
                                • sandeep
                                  sandeep @sandeep last edited by sandeep

                                  @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

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    choqo @sandeep last edited by

                                    @sandeep

                                    http://prntscr.com/vi80wp

                                    yes it is now, thank you very much;)

                                    1 Reply Last reply Reply Quote 1
                                    • 1 / 1
                                    • First post
                                      Last post

                                    Recent Topics

                                    • is ngx_pagespeed works?

                                    • How to add a new disk?

                                    • Module IPv6 CWP

                                    • PHP 8.0.0 testing - CWP

                                    • Serious error with quotas

                                    • Centos 8 Stream CWP - Delayed Update and CWP repositories are added

                                    • Update NGINX Stable v1.16.1 to latest NGINX Stable v1.18.0 for CWP & CWP PRO!

                                    • Phpmyadmin New Verison with autologin - CWP

                                    URLs HOME | Blog | Support Portal