• Support
  • Can not install mysql and php 8.x on Almalinux 9.1

I just new install for my new server use Almalinux 9.1
Everything install completed (AAPanel, Nginx, PHP7.4, FTP, PHPMyadmin) but I can not install PHP 8.1 and mysql
Could you please help? I install latest aapanel 6.8.27

    Hello,
    This is my server info

    I can not complete install on ALmalinux 9 so I reinstall on Almalinux 8 and everything completed. I love to use Almalinux 9 but it seem not the time.

    2 months later

    aaPanel_Kern you have solution this case.

    i have same problem.

    `configure: error: No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target install. Stop.

    AlmaLinux release 9.1 (Lime Lynx)
    Bit:64 Mem:3654M Core:2 gcc:11.3.1 cmake:3.20.2
    Linux 5.14.0-162.18.1.el9_1.x86_64 x86_64
    ERROR: php-8.0.26 install failed.
    Please submit to https://www.aapanel.com/forum for help`

      checking for DB1 support... no
      checking for DBM support... no
      checking for CDB support... no
      checking for INI File support... no
      checking for FlatFile support... no
      checking whether to enable DBA interface... no
      checking whether to enable DOM support... yes
      checking for libxml-2.0 >= 2.9.0... yes
      checking whether to build with Enchant support... no
      checking whether to enable EXIF (metadata from images) support... no
      checking for FFI support... no
      checking for fileinfo support... no
      checking whether to enable input filter support... yes
      checking whether to enable FTP support... yes
      checking whether to explicitly enable FTP SSL support... no
      checking for openssl >= 1.0.1... yes
      checking for GD support... yes
      checking for external libgd... no
      checking for libwebp... yes
      checking for libjpeg... yes
      checking for libXpm... no
      checking for FreeType 2... yes
      checking whether to enable JIS-mapped Japanese font support in GD... no
      checking for fabsf... yes
      checking for floorf... yes
      checking for zlib... yes
      checking for libpng... yes
      checking for libwebp... yes
      checking for libjpeg... yes
      checking for freetype2... yes
      checking for GNU gettext support... yes
      checking for bindtextdomain in -lintl... no
      checking for bindtextdomain in -lc... yes
      checking for ngettext in -lc... yes
      checking for dngettext in -lc... yes
      checking for dcngettext in -lc... yes
      checking for bind_textdomain_codeset in -lc... yes
      checking for GNU MP support... no
      checking for mhash support... yes
      checking size of long... (cached) 8
      checking if we're at 64-bit platform... yes
      checking for iconv support... yes
      checking for iconv... yes
      checking if iconv is glibc's... yes
      checking if iconv supports errno... yes
      checking if iconv supports //IGNORE... no
      checking for IMAP support... no
      checking for IMAP Kerberos support... no
      checking for IMAP SSL support... no
      checking whether to enable internationalization support... yes
      checking for icu-uc >= 50.1 icu-io icu-i18n... yes
      checking for g++... g++
      checking whether we are using the GNU C++ compiler... yes
      checking whether g++ accepts -g... yes
      checking how to run the C++ preprocessor... g++ -E
      checking whether g++ supports C++11 features with -std=c++11... yes
      checking for LDAP support... no
      checking whether to build with LDAP Cyrus SASL support... no
      checking whether to enable multibyte string support... yes
      checking whether to enable multibyte regex support (requires oniguruma)... yes
      checking for oniguruma... yes
      checking if oniguruma has an invalid entry for KOI8 encoding... yes
      checking for MySQLi support... yes
      checking for specified location of the MySQL UNIX socket... no
      checking for MySQL UNIX socket location... no
      checking for Oracle Database OCI8 support... no
      checking for Adabas support... no
      checking for SAP DB support... no
      checking for Solid support... no
      checking for IBM DB2 support... no
      checking for Empress support... no
      checking for Empress local access support... no
      checking for a custom ODBC support... no
      checking whether to build with iODBC support... no
      checking for Easysoft ODBC-ODBC Bridge support... no
      checking whether to build with unixODBC support... no
      checking for DBMaker support... no
      checking for any ODBC driver support... no
      checking whether to enable Zend OPcache support... yes
      checking whether to enable copying PHP CODE pages into HUGE PAGES... yes
      checking whether to enable JIT... yes
      checking for opagent in default path... not found
      checking for mprotect... yes
      checking for sysvipc shared memory support... no
      checking for mmap() using MAP_ANON shared memory support... no
      checking for shm_open in -lrt... yes
      checking for shm_open in -lroot... no
      checking for __shm_open in -lroot... no
      checking for mmap() using shm_open() shared memory support... no
      configure: error: No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.
      make: *** No targets specified and no makefile found. Stop.
      make: *** No rule to make target 'install'. Stop.

      AlmaLinux release 9.1 (Lime Lynx)
      Bit:64 Mem:3654M Core:2 gcc:11.3.1 cmake:3.20.2
      Linux 5.14.0-162.18.1.el9_1.x86_64 x86_64
      ERROR: php-8.0.26 install failed.
      Please submit to https://www.aapanel.com/forum for help
      |-Successify ---Script execution completed---

        Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com