phpmyadmin/setup webserver writable config folder

Hi,

I'm trying to get phpmyadmin/setup working here on Ubuntu 10.04 LTS. I've worked out how to set the password to access it, but am puzzled about how the setup page works.

When I first got to it, there was an error message at the top of the page as follows:

Cannot load or save configuration
Please create web server writable folder config in phpMyAdmin top level directory as described in documentation. Otherwise you will be only able to download or display it.

I've read the instructions and started doing what they asked. Eg. I created a folder called 'config' in /usr/share/phpmyadmin, and as per the error message used chmod 770 (for the moment). Error message didn't go away.

So I issued the command /usr/sbin/pma-configure, and the error went away.

I made some small changes to the setup, saved them.

I looked into the config folder, no files there, though the changes I made were saved.

I then issued the command /usr/sbin/pma-secure, lo and behold, the error returned (as per the warning given by pma-secure).

I get the impression that to use the setup page, I need consol access to issue the pma commands.

Hmmm, is this how it's intended? What's the point of the config folder if the setting changes are saved into the /usr/share/phpmyadmin/config.inc.php file? I've deleted the config folder for now as I don't have any further changes I wish to make at the moment.

Is there a way of achieving this through use of the browser only? (Somehow I don't think so.)

Cheers,

Nap

1 Reply

Is the folder owned by the same user that executes PHP scripts? I am not familiar with this issue, but it may explain it…

-Tim

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct