{"id":466,"date":"2010-01-08T11:02:08","date_gmt":"2010-01-08T15:02:08","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=466"},"modified":"2013-03-20T08:42:25","modified_gmt":"2013-03-20T12:42:25","slug":"phpmyadmin-access-cannot-start-session-without-errors-2","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/phpmyadmin-access-cannot-start-session-without-errors-2","title":{"rendered":"phpMyAdmin: Cannot start session without errors"},"content":{"rendered":"<p><strong>Error:<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>Cannot start session without errors, please check for errors in your PHP and\/or webserver log file, and configure your PHP installation correct.<\/strong><\/span><\/p><\/blockquote>\n<p><strong>You receive the error message &#8220;Cannot start session without errors&#8221; while accessing phpMyAdmin in cPanel<\/strong>. phpMyAdmin will not work if any of the following settings are incorrect on a cPanel server.<\/p>\n<p><strong>1.<\/strong> The owner and group of \/var\/cpanel\/userhomes\/cpanelphpmyadmin directory should be cpanelphpmyadmin recursively as <strong>by default phpMyAdmin sessions are written under \/var\/cpanel\/userhomes\/cpanelphpmyadmin\/sessions\/ directory.<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>chown cpanelphpmyadmin \/var\/cpanel\/userhomes\/cpanelphpmyadmin -R<br \/>\nchgrp cpanelphpmyadmin \/var\/cpanel\/userhomes\/cpanelphpmyadmin -R<\/strong><\/span><\/p><\/blockquote>\n<p>The 1st step should fix the issue but if it doesn&#8217;t follow the next 2 steps:<\/p>\n<p><strong>2.<\/strong> Change the session.save_path parameter to \/tmp in the file \/usr\/local\/cpanel\/3rdparty\/etc\/phpmyadmin\/php.ini i.e. edit the file<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>pico \/usr\/local\/cpanel\/3rdparty\/etc\/phpmyadmin\/php.ini<\/strong><\/span><\/p><\/blockquote>\n<p>change session.save_path as below<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>session.save_path = \/tmp<\/strong><\/span><\/p><\/blockquote>\n<p><strong>3.<\/strong> The \/tmp directory permissions should be 1777, not 755.<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>chmod 1777 \/tmp<\/strong><\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Error:<br \/>\nCannot start session without errors, please check for errors in your PHP and\/or webserver log file, and configure your PHP installation correct.<br \/>\nYou receive the error message &#8220;Cannot start session without errors&#8221; while accessing phpMyAdmin in cPanel. phpMyAdmin will not work if any of the following settings are incorrect on a cPanel server.<br \/>\n1. The owner and group of \/var\/cpanel\/userhomes\/cpanelphpmyadmin directory should be cpanelphpmyadmin recursively as by default phpMyAdmin sessions are written under \/var\/cpanel\/userhomes\/cpanelphpmyadmin\/sessions\/ directory.<br \/>\nchown cpanelphpmyadmin \/var\/cpanel\/userhomes\/cpanelphpmyadmin -R<br \/>\nchgrp cpanelphpmyadmin \/var\/cpanel\/userhomes\/cpanelphpmyadmin -R<br \/>\nThe 1st step should fix the issue but if it [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[636,639,637,635,638,634],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/466"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=466"}],"version-history":[{"count":5,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/466\/revisions"}],"predecessor-version":[{"id":2193,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/466\/revisions\/2193"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}