Run phpmyadmin as user apache

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

Run phpmyadmin as user apache

Postby ianm » 22. August 2017 20:50

This is our first foray into xampp but have used all the pieces before.

We have a development server using numerous vhosts. The web hosts are working fine, can connect to the database etc, no issues.

We run httpd as user apache, group developers so we can easily create site specific log files in the vhosts directory structure. All fine still. The log files are owned by apache:developers.

We can successfully start phpmyadmin. If we use an invalid user/password we get appropriate errors. However, if we use proper usernames and password we just get thrown back to the login screen - no errors.

We changed ownership on the phpmyadmin and temp folder - had to to get this far. We see the session information being written to the temp folder and it contains valid info.

I assume this is a permissions issue on another folder? Any suggestions? We have specifically made apache a member of the developers group so we don't need any global permissions to read/write the log files within the developers group.
ianm
 
Posts: 2
Joined: 22. August 2017 20:38
XAMPP version: 7.1.7
Operating System: Fedora 25

Re: Run phpmyadmin as user apache

Postby ianm » 23. August 2017 15:21

I installed on a clean OS and experimented.

It might be just a coincidence but I changed ownership of the temp folder to daemon:daemon and now it works. The files in the folder are still apache:developers but it's working now.
ianm
 
Posts: 2
Joined: 22. August 2017 20:38
XAMPP version: 7.1.7
Operating System: Fedora 25


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 9 guests