Learn about Centmin Mod LEMP Stack today
Become a Member

phpmyadmin does not work

Discussion in 'System Administration' started by Josephm, Apr 21, 2015.

  1. Josephm

    Josephm Active Member

    126
    43
    28
    Aug 26, 2014
    Ratings:
    +45
    Local Time:
    12:09 PM
    1.9.5
    10.0.21
    Hi,
    when I upgrade PHP to 5.6.8 and Xcache to 3.2.0, I can't access my phpmyadmin site. I got error message
    Code:
    [SIZE=6][B]phpMyAdmin - Error[/B][/SIZE]
    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.
    
    I tried to find session.save_path in /usr/local/lib/php.ini, changed it to session.save_path = "/tmp" but it does not work.

    Anyone ever seen same issue?
    Thank you,
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    3:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    if you're tweaking php defaults best to not edit php.ini if you want them to survive php upgrades. Instead create a custom .ini file in /etc/centminmod/php.d/ for example .08 beta has a new custom file at /etc/centminmod/php.d/a_customphp.ini and add the change to that to override php.ini

    have you tried clearing your browser cache ? try that first
     
  3. Josephm

    Josephm Active Member

    126
    43
    28
    Aug 26, 2014
    Ratings:
    +45
    Local Time:
    12:09 PM
    1.9.5
    10.0.21
    Thanks for comment, I needed to chmod 777 for /tmp as well. Now it's OK :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    3:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    for /tmp use

    Code:
    chmod 1777 /tmp
     
    • Like Like x 1