Mengatasi session_start(): Write of lock failed phpMyAdmin

Apakah Anda tidak bisa login ke phpMyAdmin karena halaman error? Jika saat mengakses phpMyAdmin Anda 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 Anda menginstall memcached server, tapi belum diaktifkan, kemungkinan kedua masalah chmod folder /var/lib/php/session

Cek status memcached

systemctl status memcached

Jika belum running

systemctl start memcached

Restart php-fpm dan Nginx

systemctl restart nginx && systemctl restart php-fpm

Cek kembali akses phpMyAdmin

Jika belum berhasil chmod folder session ke 755 atau 777

chmod 755 /var/lib/php/session

 

Selamat mencoba 😀

 

Add a comment

Exit mobile version