XAMPP OS X PHPMyAdmin Error



刚刚安装了一个干净的XAMPP 1.8.2-0(他们改变了外观……而不是风扇…)当我访问localhost/phpmyadmin/时,我得到了以下错误:

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.

日志上写着:

[Wed Jul 10 19:14:43.016201 2013] [core:notice] [pid 3839] AH00094: Command line:         '/Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -D SSL -D PHP'

老实说,不确定这意味着什么,XAMPP通常每次对我来说都是第一次干净安装。。。

任何帮助都会很棒!

Ta

Rick

遇到了同样的问题。无论我在网上能找到什么信息片段,我都发现了这个发现:

检查您的examplefiles/etc/php.ini文件,找到"session.save_path="并取消注释。不知道那个是怎么从裂缝里滑出来的。

更新

很抱歉没有具体说明。前几个实例只是说明性注释块中的示例。你想要的就在最后。

以下是注释块末尾的代码片段,您可以在其中找到所需的行:

; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
; http://php.net/session.save-path
session.save_path = "/tmp"     <<<<<<----- THAT ONE.

Nathan-感谢您指出这一点。你能更具体一点吗?

我在您引用的文件中看到了session.save_path的四个实例。没有任何实例与您描述的完全一样。有一些像这样的:

session.save_path = "/tmp"
session.save_path = "N;/path"
session.save_path = "N;MODE;/path"

所有的前面都有一个;在线上。

最新更新