Page 1 of 1
phpmyadmin issue
Posted: Sun Oct 23, 2016 9:56 am
by balinese
Hello everyone. It's a third time i have issue with phpmyadmin icons when i install vesta. icons not found if web configuration is nginx+php-fpm, no idea how to fix that but i think it's simple permissions issue
centos 7, nginx, php-fpm
Re: phpmyadmin issue
Posted: Tue Oct 25, 2016 12:09 am
by uprhost
Hello Friend,
I'm having the same problem. See my post
viewtopic.php?f=11&t=12840
Another user made some information but do not know how to solve.
If you know and solve, you help me?
Re: phpmyadmin issue
Posted: Tue Oct 25, 2016 7:22 am
by mehargags
not much of a CentOS guy, but can you try and update
PHPMyAdmin latest pkg? it might be a bug in the PMA pkg on the repo
Re: phpmyadmin issue
Posted: Tue Oct 25, 2016 6:47 pm
by uprhost
mehargags wrote:not much of a CentOS guy, but can you try and update
PHPMyAdmin latest pkg? it might be a bug in the PMA pkg on the repo
Not bug in phpmyadmin, with Apache or nginx + apache works perfectly. The problem happens only with nginx + php-fpm.
Re: phpmyadmin issue
Posted: Thu Nov 17, 2016 2:31 pm
by ivcha92
I managed to create workaround. The issue is related to case sensitive directory naming
In /etc/nginx/conf.d/phpmyadmin.inc you can see the following line
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/share/;
}
Webeserver root is /usr/share/ and there is folder /usr/share/phpMyAdmin/ the issue is that phpMyAdmin load the assets from "phpmyadmin" directory which should be /usr/share/phpmyadmin/
The workaround is to create symlink
cd /usr/share
ln -s phpMyAdmin phpmyadmin
Re: phpmyadmin issue
Posted: Mon Dec 19, 2016 9:48 am
by chazm
ivcha92 wrote:
The workaround is to create symlink
cd /usr/share
ln -s phpMyAdmin phpmyadmin
Works perfectly! Thank you very much, you saved my day! :)
Re: phpmyadmin issue
Posted: Thu Oct 10, 2019 2:28 pm
by dnlx
ivcha92 wrote: ↑Thu Nov 17, 2016 2:31 pm
I managed to create workaround. The issue is related to case sensitive directory naming
In /etc/nginx/conf.d/phpmyadmin.inc you can see the following line
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/share/;
}
Webeserver root is /usr/share/ and there is folder /usr/share/phpMyAdmin/ the issue is that phpMyAdmin load the assets from "phpmyadmin" directory which should be /usr/share/phpmyadmin/
The workaround is to create symlink
cd /usr/share
ln -s phpMyAdmin phpmyadmin
Thank you so much.