Phpmyadmin broken after update

what can i say, i didn,t knowtice it broken till i needed it just now to look in my database tryed fixing permissions with GPT’s help nothing … yikes

if anyone has any ideas please lemme know

I have encountered this problem. Maybe yours will help.

chown -R root:hestiamail /etc/phpmyadmin/
chown hestiamail:www-data /var/lib/phpmyadmin/tmp/

tried it saddly didn,t fix it but thanks for your imput

As root, show the output of this command:

namei -mo /var/lib/php/sessions


here you go thanks for the help in advance :slight_smile:

Try this:

chmod 1733 /var/lib/php/sessions/

And try again.

Is it a problem that mine looks like this?

# namei -mo /var/lib/php/sessions
f: /var/lib/php/sessions
 drwxr-xr-x root root /
 drwxr-xr-x root root var
 drwxr-xr-x root root lib
 drwxr-xr-x root root php
 drwx-wx-wt root root sessions

No, it isn’t… At least for version 1.8.12, that’s how it should look. But for version 1.9.x, I don’t know if that has changed—I haven’t been able to test the new version yet.


saddly the error still says permission denied :frowning:

 drwxr-xr-x root root /
 drwxr-xr-x root root var
 drwxr-xr-x root root lib
 drwxr-xr-x root root php
 drwx-wx-wt root root sessions

for documention purpeses how i implemented your solution was

sudo chown root:root /var/lib/php/sessions sudo chown root:root /var/lib/php/ sudo chmod 755 / sudo chmod 755 /var sudo chmod 755 /var/lib sudo chmod 755 /var/lib/php sudo chmod 1733 /var/lib/php/sessions ls -ld / /var /var/lib /var/lib/php /var/lib/php/sessions

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.