Welcome to Centmin Mod Community
Become a Member

phpmyadmin does not work

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

  1. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    9:11 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

    54,087
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    9:11 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

    54,087
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    for /tmp use

    Code:
    chmod 1777 /tmp