Posted by: Hartoto | 11/02/2014

Cara Atasi phpMyAdmin Error di NginX

Pernahkan Anda menemukan kalimat ini pada saat instalasi phpmyadmin di Engine-X (Nginx)?

phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file 
and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.

 

dan jika dilihat di error lognya, akan dilaporkan:

PHP Fatal error: Class ‘PMA_Message’ not found in …

Penyebabnya sederhana saja, yaitu folder /var/lib/php/session masih dimiliki root atau apache. Sementara Anda menjalankan dengan nginx. Jadi harus diset ownernya sebagai nginx

sudo chgrp nginx -R /var/lib/php/session

Ok, sekarang silakan buka lagi. Insya Allah sudah clear


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: