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>
可能重複[無法在phpMyAdmin中無錯誤地啓動會話,會話變量不起作用](http://stackoverflow.com/questions/25600461/cannot-start-session-without-errors-in-phpmyadmin-session -variables-dont-work) – Jehy
我認爲'忽略不支持的語言代碼.'只是一個警告消息。主要問題在會話變量中,我在之前的評論中添加了一個鏈接。 – Jehy