Can't get phpMyAdmin working

I've installed phpMyAdmin on a VPS running Apache 2.2.15 and PHP 5.6.27 on CentOS 6.8

After allowing web access via the httpd conf file I keep getting the following message from both the index page and the setup page.

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.

All well and good, except that PHP doesn't seem to be writing any error messages to the site error log. (Its a dev site, errors are turned up high - E_ALL | E_STRICT)

How do I debug this? The config file exists (/etc/phpMyAdmin/config.inc.php) but is empty.

0
задан 5 January 2017 в 01:44
2 ответа

Теперь я решил эту проблему - настройка по умолчанию для session.save path в /etc/httpd/conf.d/php.conf переопределяла мой пользовательский php.ini файл.

Смотрите php session.save. путь не из моего ini файла

0
ответ дан 4 December 2019 в 16:23

Я также сталкивался с этой проблемой много раз, и очистка файлов cookie всегда решала ее. У меня его не было около 2 лет, так что это может быть проблема с конкретными версиями phpmyadmin

1
ответ дан 4 December 2019 в 16:23

Теги

Похожие вопросы