php - PHPmyadmin error on site -
without changes, received following error while wanting access our mysql dbase via phpmyadmin:
warning: unknown: open(/var/lib/php/session/sess_8i4gv03ka359ktq4tp4h81oufs638cig, o_rdwr) failed: read-only file system (30) in unknown on line 0
warning: unknown: failed write session data (files). please verify current setting of session.save_path correct (/var/lib/php/session) in unknown on line 0
does know why happened & how can solve ?
thx bart
your problem sessions directory not writable web server. disables ability create sessions.
first check directory /var/lib/php/session/
exists. if so, check if it's on writable medium. because message read-only file system
makes me little unsure.
then make directory /var/lib/php/session/
, current contents writable web server. try chowning directory user runs web server. or (easier, bit less secure) chmod 777 /var/lib/php/session
followed chmod 666 /var/lib/php/session/*
Comments
Post a Comment