Sunday, April 28, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 11096  / 2 Years ago, thu, april 14, 2022, 1:55:28

I'm getting this:




Cannot start session without errors,
please check errors given in your PHP
and/or webserver log file and
configure your PHP installation
properly.




I followed this tutorial to fix the problem:



http://www.electrictoolbox.com/phpmyadmin-cannot-start-session-without-errors/



But I don't actually have a /var/lib/php/session' directory.



(I only have a var/lib/php5 directory)



I get this:



chown: cannot access `/var/lib/php/session': No such file or directory


Any suggestions?



(I didn't touch anything, so I assume an update screwed something).



EDIT:



in var/lib/php



there is a file called: sess_eq4jhtrmumanft46oj7o97phdbtv8bcm



and it has this:



enter image description here



(Sorry, I can't paste the code for some reason).


More From » command-line

 Answers
4

create the folder sudo mkdir /var/lib/php/session and give it a sudo chmod 777 /var/lib/php/session privilege (just for testing)



If it start working give it appropriate privilege(using chmod) or change owner (using chown).


[#44587] Friday, April 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
exceeeelh

Total Points: 21
Total Questions: 109
Total Answers: 120

Location: Marshall Islands
Member since Wed, Jan 5, 2022
2 Years ago
;