phpmyadmin memcached problem

Discussion in 'Installation/Configuration' started by aminbaik, Dec 1, 2023.

  1. aminbaik

    aminbaik New Member

    hello, i installed isp config with Nginx on ubuntu 22.4
    when i open the PHPmyadmin its give me error 500

    i check the log the problem come with memcached :

    2023/12/01 11:56:05 [error] 6980#6980: *6532 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Failed to create session ID: memcached (path: tcp://publicup:11211) in /usr/share/phpmyadmin/libraries/classes/Session.php:205

    Stack trace:

    #0 /usr/share/phpmyadmin/libraries/classes/Session.php(205): session_start()

    #1 /usr/share/phpmyadmin/libraries/common.inc.php(161): PhpMyAdmin\Session::setUp()

    #2 /usr/share/phpmyadmin/index.php(15): require_once('...')

    #3 {main}

    thrown in /usr/share/phpmyadmin/libraries/classes/Session.php on line 205" while reading response header from upstream, client: 192.168.1.1 , server: _, request: "GET /phpmyadmin/ HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php8.1-fpm/apps.sock:", host: "serverdomain:8081"


    any suggest?


    thanks.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    What is the output of php -v ?
     
  3. aminbaik

    aminbaik New Member

    hi,
    PHP 8.1.26 (cli) (built: Nov 24 2023 08:49:33) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.1.26, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.26, Copyright (c), by Zend Technologies
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Which guide did you follow to install the server?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Does any of our install guides configures phpmyadmin to use Memcached as session storage? I don't think so.
    But you can use Memcached of course, try to run:

    apt install memcached
    service memcached start
     
    ahrasis likes this.
  6. aminbaik

    aminbaik New Member

    Hello,
    yes, the auto installs on ... with note that i am using nginx.
    thanks.
     

Share This Page