-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings in Fedora feel Random #19106
Comments
After research, I've found that Fedora pack, although it seems to be a 5.2.1 it's using super-old files like I've wiped the whole distribution directory at I have to admit that I've never understood, very well, how most distros integrate phpMyAdmin on their systems. The put the files all over the place, in Anyway from a permissions point of view, everything is very weird. As I previously said, I chowned the whole phpmyadmin by Nginx user and group, and add my php-fpm user to nginx group. Then I set permissions for both Owner (nginx) and Group (nginx) also, basically all directories to The Reason? No idea. I check within the phpmyadmin directory, with If anyone is willing to further debug, please comment and I will be back. PS: I did a test and as expected, PHP doesn't honor Linux group permissions So this is not a problem of phpMyAdmin. I would like to hear a possible explanation if anyone happens to have one, because now as I recall this has broken my head for ages. |
Describe the bug
For some reason I find that both Warnings that appear on a fresh Fedora 38 installation of PhpMyAdmin over nginx 1.24.0, PHP 8.2.17 and MariaDB 10.5.23 are completely random
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No warnings as things are right
Screenshots
A video:
phpmyadmin.mp4
Server configuration
Client configuration
Additional context
There are two main warnings:
Doesn't make any sense. According to
libraries/vendor_config.php
theconfig.inc.php
file in Fedora 38 is located at/etc/phpMyAdmin/config.inc.php
. It should have a 32-bitblowfish_secret
generated, for example withSo basically, there is something seriously bugged here
For the other part, the warning:
It is even worse. Theoretically, the system is being run via PHP-FPM with a user. The
/var/lib/phpMyAdmin/temp/
dir, has 770 privileges, with both user nginx and group nginx chowned + the PHP-FPM user is part of thenginx
group. I know that phpMyAdmin has perfect permissions because inside thattemp
folder there is atwig
folder. If I remove thetwig
folder an refresh phpMyAdmin, thetwig
folder pops back.But even worse, the fact is that the warning is not constant, appears and disappears randomly. In case it's not well shown in the video, every time I refresh the page, with F5, the warning appears and disappears as it can be observed.
The text was updated successfully, but these errors were encountered: