Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

phpmyadmin issue

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
balinese
Posts: 13
Joined: Thu Nov 26, 2015 9:36 am

phpmyadmin issue
  • Quote

Post by balinese » Sun Oct 23, 2016 9:56 am

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
Top

uprhost
Posts: 5
Joined: Tue Oct 11, 2016 6:13 pm

Re: phpmyadmin issue
  • Quote

Post by uprhost » Tue Oct 25, 2016 12:09 am

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?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: phpmyadmin issue
  • Quote

Post by mehargags » Tue Oct 25, 2016 7:22 am

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
Top

uprhost
Posts: 5
Joined: Tue Oct 11, 2016 6:13 pm

Re: phpmyadmin issue
  • Quote

Post by uprhost » Tue Oct 25, 2016 6:47 pm

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.
Top

ivcha92
Posts: 26
Joined: Thu Nov 17, 2016 2:25 pm
Contact:
Contact ivcha92
Website Facebook

Os: CentOS 6x
Web: nginx + php-fpm
Re: phpmyadmin issue
  • Quote

Post by ivcha92 » 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
Top

chazm
Posts: 2
Joined: Sun Oct 19, 2014 9:25 am

Re: phpmyadmin issue
  • Quote

Post by chazm » Mon Dec 19, 2016 9:48 am

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! :)
Top

dnlx
Posts: 4
Joined: Thu Oct 10, 2019 2:26 pm

Os: CentOS 7x
Web: nginx + php-fpm
Re: phpmyadmin issue
  • Quote

Post by dnlx » Thu Oct 10, 2019 2:28 pm

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.
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password