Page 1 of 1
phpMyAdmin bug with nginx + php-fpm
Posted: Tue Oct 11, 2016 6:22 pm
by uprhost
Hello,
I'm learning to work with vestacp and found a bug in phpMyAdmin when using nginx + php-fpm.
The layout of the phpmyadmin is wrong, duplicate menus, no pictures ... Look
http://prnt.sc/cngdqk
How to solve this problem?
Re: phpMyAdmin bug with nginx + php-fpm
Posted: Wed Oct 12, 2016 5:03 am
by Elizine
Check the ownership and permissions on this directory:
Compare these to the user and group ID under which php-fpm is running. These will be found in the user = and group = declarations in PHP-FPM's pool configuration in /etc/php-fpm.conf or files in the /etc/php-fpm.d/ directory.
Re: phpMyAdmin bug with nginx + php-fpm
Posted: Wed Oct 12, 2016 3:16 pm
by uprhost
Elizine wrote:Check the ownership and permissions on this directory:
Compare these to the user and group ID under which php-fpm is running. These will be found in the user = and group = declarations in PHP-FPM's pool configuration in /etc/php-fpm.conf or files in the /etc/php-fpm.d/ directory.
Thank you for your attention
returns this
drwxrwx---. 2 root apache 4096 Sep 15 10:01 /var/lib/php/session
in /etc/php-fpm.d/mydomain.com
[mydomain.com]
listen = 127.0.0.1:9004
listen.allowed_clients = 127.0.0.1
user = my user
group = my user
pm = dynamic
pm.max_children = 50
pm.start_servers = 3
pm.min_spare_servers = 2
pm.max_spare_servers = 10
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
What do I do?