phpmyadmin issue
phpmyadmin issue
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
centos 7, nginx, php-fpm
Re: phpmyadmin issue
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?
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?
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: phpmyadmin issue
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
Not bug in phpmyadmin, with Apache or nginx + apache works perfectly. The problem happens only with nginx + php-fpm.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
Re: phpmyadmin issue
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
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
Works perfectly! Thank you very much, you saved my day! :)ivcha92 wrote:
The workaround is to create symlink
cd /usr/share
ln -s phpMyAdmin phpmyadmin
Re: phpmyadmin issue
Thank you so much.ivcha92 wrote: ↑Thu Nov 17, 2016 2:31 pmI 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