phpMyAdmin Error: Cannot start session without errors problem _php tutorial

Source: Internet
Author: User
When using phpMyAdmin found cannot start session without errors problem resolution, I hope this article can bring you help Oh.

workaround one , Nginx environment

In a new environment, a phpmyadmin is installed.
When found open prompt: Cannot start session without errors ....
And then landed, also found the style and so on error,
Workaround:
is a permission access issue for the Session directory in the PHP environment
Open PHP.ini first.
Search: Session.save_path
Check if the owner of the directory under the path is normal:
Root Apache 4096 Mar 23:07 session
If that's the case, it's obviously not normal.
Should be changed to:
Apache Apache 4096 Mar 23:07 session
Or
Nginx nginx 4096 Mar 23:07 session
Wait a minute.
Also please note! , if it is Nginx + php-fpm, in addition to check the settings of/etc/php.ini also check:
/etc/php-fpm.d/www.conf's

Php_value[session.save_path] =/var/lib/php/session

The memory path of this session must be consistent with PHP.ini!!!


Solution II

Environment: Linux, Apache2, PHP5
Problem:
The following error occurred when opening phpmyadmin:

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PH P installation properly.

Workaround:

Vim/etc/php5/apache2/php.ini

Find the Session.save_path and remove the comment symbol from the session.save_path=/var/lib/php5 sentence.
If it does not work, change the value of Session.auto_start to 1 (start) and the default is 0 (disabled)


Solution Three

Windows Server 2003 + IIS6 (ISAPI mode php +zend)

In the PHP directory, create a folder temp, set the Temp property to the Iis_users group except for full control of all permissions. (Iis_users is the IIS anonymous user group)

In php.ini find Session.save_path this line, set to Session.save_path = "D:/host/php/temp" (remove the semicolon).

Workaround:

Change the value of Session.auto_start in php.ini to 1 (start), default is 0 (disabled),
In php.ini find Session.save_path this line, set to Session.save_path = "D:/host/php/temp" (remove the semicolon)

Found in the phpMyAdmin, config.sample.inc.php, changed into config.inc.php,
Find $cfg [' Blowfish_secret '] adds the following assignment, adding a combination of numbers and letters.

http://www.bkjia.com/PHPjc/633176.html www.bkjia.com true http://www.bkjia.com/PHPjc/633176.html techarticle when using phpMyAdmin found cannot start session without errors problem resolution, I hope this article can bring you help Oh. Workaround one, Nginx environment in a new environment, ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.