Welcome to Centmin Mod Community
Become a Member

Memcached.so incorrectly referenced

Discussion in 'AlmaLinux 8 & Rocky Linux 8 Beta Testing' started by Nik, Oct 21, 2023.

  1. Nik

    Nik Member

    85
    5
    8
    Dec 7, 2015
    Ratings:
    +13
    Local Time:
    1:51 PM
    Fresh install of 130 beta 1 on Alma 8.8.

    Installed using:
    curl -4sL https://centminmod.com/installer-el8x-81-edge-mold.sh -o installer-el8x-81-edge-mold.sh; bash installer-el8x-81-edge-mold.sh


    All went well but looks like there's a couple of issues.


    1. memcached is missing.
    2. Appears to be looking for memcached.so.so as per below


    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached.so (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902//usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20210902//usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
     
  2. eva2000

    eva2000 Administrator Staff Member

    51,947
    11,973
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,470
    Local Time:
    3:51 AM
    Nginx 1.25.x
    MariaDB 10.x
  3. Nik

    Nik Member

    85
    5
    8
    Dec 7, 2015
    Ratings:
    +13
    Local Time:
    1:51 PM
  4. eva2000

    eva2000 Administrator Staff Member

    51,947
    11,973
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,470
    Local Time:
    3:51 AM
    Nginx 1.25.x
    MariaDB 10.x
    Probably an issue with network connectivity specific to your server, git clone times out for PHP memcached download
    Code (Text):
    compiling memcached PHP extension for PHP 8.x ...
    PHPMUVER = 
    /svr-setup /svr-setup
    Cloning into 'memcached-php8'...
    fatal: unable to access 'https://github.com/php-memcached-dev/php-memcached.git/': Failed to connect to github.com port 443: Connection timed out
    

    what's output for curl header check from server SSH type
    Code (Text):
    curl -Iv https://github.com
    

    For folks reading this message and yourself for posting code or output from commands to keep the formatting, you might want to use CODE tags for code How to use forum BBCODE code tags :)
     
  5. Nik

    Nik Member

    85
    5
    8
    Dec 7, 2015
    Ratings:
    +13
    Local Time:
    1:51 PM
    Good find, I guess solution is to attempt another PHP recompile?
     
  6. eva2000

    eva2000 Administrator Staff Member

    51,947
    11,973
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,470
    Local Time:
    3:51 AM
    Nginx 1.25.x
    MariaDB 10.x
    If it's a fresh install, I'd try reloading fresh AlmaLinux 8.8 and try the installer again and see if you get same issues. If you do, then could be Github blocked your server IP or something.
     
  7. Nik

    Nik Member

    85
    5
    8
    Dec 7, 2015
    Ratings:
    +13
    Local Time:
    1:51 PM
    I ended up deploying a bunch of sites so would rather not lose it. Think I had some sporadic networking issues, I can curl Github fine today.
     
  8. eva2000

    eva2000 Administrator Staff Member

    51,947
    11,973
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,470
    Local Time:
    3:51 AM
    Nginx 1.25.x
    MariaDB 10.x
    Then just run cmupdate and set variable in the persistent config file /etc/centminmod/custom_config.inc
    Code (Text):
    AUTODETECPHP_OVERRIDE='y'
    

    then run centmin.sh menu option 5 to recompile

    the AUTODETECPHP_OVERRIDE is to override PHP compiles of same major PHP version from skipping PHP extension compiles i.e. PHP 8.1.x recompiles will skipp PHP extensions reinstalls. Without AUTODETECPHP_OVERRIDE enabled, only switching major PHP versions will PHP extensions be compiled i.e. switching from PHP 8.1 to 8.0 etc
     
  9. Nik

    Nik Member

    85
    5
    8
    Dec 7, 2015
    Ratings:
    +13
    Local Time:
    1:51 PM
    That did the trick, thank you sir.