While trying to login in to PHPMYADMIN, you may get error like this:-
Cannot start session without errors, please check errors given in your PHP and/or webserver log
file and configure your PHP installation properly.
FIX:-
=====
Check permissions of /tmp. It may be 755. Change it to 1777.
Try to access PHPMYADMIN again.
If the issue is still there
open the file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini using your favourite editor like vi.
#vi /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini
Change session.save_path to /tmp and restart apache.
Try to access again, If this wont fix pfoceed with thefollowing steps:-
[root@ourserver ~]#cd /var/cpanel/userhomes
[root@ourserver ~]#chown cpanel-phpmyadmin:cpanel-phpmyadmin -R cpanel-phpmyadmin
Make sure that /var/cpanel/userhomes/cpanel-phpmyadmin/tmp file has 700 permission. If its not,
[root@ourserver ~]#chmod 700 /var/cpanel/userhomes/cpanel-phpmyadmin/tmp
Check this also:-
Open the file:-
[root@ourserver ~]#vi /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
Change the entries to the following:-
$cfg[Servers][$i][socket] = ?;
replace with
$cfg[Servers][$i][socket] = /var/lib/mysql/mysql.sock;
cfg[Servers[$i][?connect_type?] = tcp;
replace with
$cfg[Servers][$i][?connect_type?] = socket;