Call to undefined function __() error - phpMyAdmin

后端 未结 10 1478
温柔的废话
温柔的废话 2020-11-27 18:23

When i want run phpMyAdmin on my browser, that show me this error:

Fatal error: Call to undefined function __() in /usr/share/phpMyAdmin/libraries/core.lib.p         


        
10条回答
  •  [愿得一人]
    2020-11-27 19:09

    In my case using php-fpm under CentOS 7, it was the reason @Issac pointed out, and just solved with:

    mkdir -p /var/lib/php/session
    chown -R apache:apache /var/lib/php
    

    Then solved.

    Just create the session folder, I think this direct solution can work on this specific case.

    WARNING: Before you do this, be sure to check if the /var/lib/php folder exists, and check which user is in use for the php-fpm process. If you are using nobody for the php-fpm process, set 777 permission for the /var/lib/php/session can work well.

提交回复
热议问题