duanlu1950 2014-02-20 23:19
浏览 35

PHP会话不使用phpMyAdmin在CentOS上工作

Can't login to phpmyadmin complains about sessions. I've set session.save_path to /var/lib/php/session and I've given this file 777 permissions.

Here is the full error I'm getting:

Cannot start session without errors, please check errors given in your PHP
and/or webserver log file and configure your PHP installation properly.
Also ensure that cookies are enabled in your browser.

I've also checked my web server logs and php error logs and there's nothing there.

I've also tried clearing my browser's cache & cookies multiple times to no avail.

Any help much appreciated!

  • 写回答

1条回答 默认 最新

  • douan0729 2014-02-22 09:42
    关注

    The problem was due to using PHP 5.4 which wasn't the official version in the repo. I've uninstalled 5.4 and installed 5.3 and now everything seems to work fine.

    评论

报告相同问题?