Mengatasi session_start(): Write of lock failed phpMyAdmin

By | August 15, 2018

Apakah Kamu tak dapat login ke phpMyAdmin karena halaman error? Kalau ketika mengakses phpMyAdmin Kamu mengalami error seperti ini

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly

error session_start(): Write of lock failed

Kemungkinan Kamu menginstall memcached server, tapi belum diaktifkan, kemungkinan kedua masalah chmod folder /var/lib/php/session

Cek status memcached

systemctl status memcached

Kalau belum running

systemctl start memcached

Restart php-fpm dan Nginx

systemctl restart nginx  systemctl restart php-fpm

Cek kembali akses phpMyAdmin

Kalau belum berhasil chmod folder session ke 755 atau 777

chmod 755 /var/lib/php/session

 

Selamat mencoba đŸ˜€

 


Sumber https://idnetter.com