You are not logged in.

#1 2016-05-28 14:39:47

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

phpmyadmin/setup: Cannot load or save configuration

Hi,

I've been following the ArchWiki;

# cd /usr/share/webapps/phpMyAdmin
# mkdir config
# chgrp http config
# chmod g+w config

got this:

$ ls -ld config
drwxrwxrwx 2 root http 4096 May 28 17:09 config

tried also this:

$ ls -ld config
drwxr-xrwx 2 root root 4096 May 28 17:23 config

Still no luck. What have I been missing?

Offline

#2 2016-05-28 14:47:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: phpmyadmin/setup: Cannot load or save configuration

Llama wrote:

Hi,

I've been following the ArchWiki;

# cd /usr/share/webapps/phpMyAdmin
# mkdir config
# chgrp http config
# chmod g+w config

got this:

$ ls -ld config
drwxrwxrwx 2 root http 4096 May 28 17:09 config

Unless your umask is 000 or 020, that doesn't follow.. It's not a good idea to make a system directory world-writable in any case.

Presumably phpmyadmin has logs, what do they say after a failed attempt at running this setup script from a browser?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-05-28 14:57:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: phpmyadmin/setup: Cannot load or save configuration

Are you saying that when you ran the same command 14 minutes later, the group attribute of the directory reverted from http to root?
Had you run any php stuff during that interval?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2016-05-28 15:05:57

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: phpmyadmin/setup: Cannot load or save configuration

ewaller wrote:

Are you saying that when you ran the same command 14 minutes later, the group attribute of the directory reverted from http to root?
Had you run any php stuff during that interval?

No, I am not. I just fiddled a bit with ownership, to no avail.

Offline

#5 2016-05-28 15:07:31

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: phpmyadmin/setup: Cannot load or save configuration

WorMzy wrote:

Presumably phpmyadmin has logs, what do they say after a failed attempt at running this setup script from a browser?

It isn't yet running, I guess. It's the setup script, or so I gather.

Offline

#6 2016-05-29 16:15:33

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: phpmyadmin/setup: Cannot load or save configuration

Adminer is OK. Kind of solution, though [SOLVED] isn't in order, I guess.

Offline

Board footer

Powered by FluxBB