2016-05-05 88 views
0

我的环境:Windows 8.1,php5.5,阿帕奇2.4,火狐45.1phpMyAdmin:如何解决“会话启动期间出错”错误?

phpMyAdmin - Error 

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser. 

Ignoring unsupported language code. 

我搜索了几个小时,我做了以下内容:

清除浏览器缓存和服务器会话文件夹,它工作在第一。进入设置页面或尝试登录后,此错误再次出现。然后,我无法打开的index.php

我也把我的文件夹的权限,使所有可能的用户可以拥有所有访问该文件夹,该文件夹中的内容,这是行不通的

我也改变了一些会话配置,不工作。

phpinfo()正确显示,php相关扩展功能正确启用。

我也检查日志,服务器和PHP日志不会显示问题发生时的错误日志。

请帮忙。


php.ini中的一部分:

doc_root = "F:\share\myprivate_server" 
session.save_handler = files 
session.save_path = "F:\share\myprivate_server\session" 
session.use_strict_mode = 0 
session.use_cookies = 1 
session.use_only_cookies = 1 
session.name = PHPSESSID 
session.auto_start = 0 
session.cookie_lifetime = 0 
session.cookie_path =/
session.cookie_domain = 
session.cookie_httponly = 
session.serialize_handler = php 
session.gc_probability = 1 
session.gc_divisor = 1000 
session.gc_maxlifetime = 1440 
session.referer_check = 
session.cache_limiter = nocache 
session.cache_expire = 180 
session.use_trans_sid = 0 
session.hash_function = 0 
session.hash_bits_per_character = 5 
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" 

httpd.conf中的一部分

DocumentRoot "F:/share/myprivate_server" 
<Directory "/*"> 
    Options All 
    Require all granted 
    AllowOverride All 
</Directory> 

<Directory "/"> 
    Options All 
    Require all granted 
    AllowOverride All 
</Directory> 
+0

可能重复[无法在phpMyAdmin中无错误地启动会话,会话变量不起作用](http://stackoverflow.com/questions/25600461/cannot-start-session-without-errors-in-phpmyadmin-session -variables-dont-work) – Jehy

+0

我认为'忽略不支持的语言代码.'只是一个警告消息。主要问题在会话变量中,我在之前的评论中添加了一个链接。 – Jehy

回答

0

我在Ignoring unsupported language code.

看你能不能只改变该语言为英语,看它是否工作?

相关问题