Control Web Panel
WebPanel => MySQL => Topic started by: aleksiCoon on June 09, 2018, 10:21:43 PM
-
Hi,
I'm getting the error below when I try to use phpMyAdmin. I'm running CentOS7 and PHP 7.2.5.
This is in the error log in cwpsrv/logs:
2018/06/10 01:16:24 [error] 10220#0: *593 upstream sent too big header while reading response header from upstream, client: xx.xx.xx$
I have increased the buffer sizes for nginx without any effect:
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
I also get this dependency error when I try to install phpMyAdmin with yum.
Error: php72w-common conflicts with php-common-5.4.16-45.el7.x86_64
I've reinstalled PHP without any success. Roundcube and other services work normally. Any help is much appreciated, thanks!
-
Have you tried these solutions?
http://forum.centos-webpanel.com/centos-7-problems/phpmyadmin-giving-502-bad-gateway/
http://forum.centos-webpanel.com/centos-webpanel-bugs/502-bad-gateway-admin-panel/
-
Actually forget to mention, but I did look at the first thread and went through with the steps without success.
I just read through the second thread and acted accordingly but that didn't help either. :(
(https://i.imgur.com/b6nlMDm.png)
I'm currently running Apache + Varnish + Nginx, I even tried reverting back to Apache only without any success.
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
I increased the buffers without any effect on the errors..
-
*1328 upstream sent too big header while reading response header from upstream, client: xx.xx.xx.xxx, server: localhost, request: "GET /pma/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsvc.sock:", host: "xxx.xxx:2031", referrer: "https://xxx.xxx:2031/admin/index.php"
Here's the full error again. I was wondering why in the fastcgi path there is php71, even though my php info says:
You are running PHP version: 7.2.5..
Not my expertise and I'm very much stuck on this error now..
-
I have the same problem.
I read all of the posts of the forum about this subject too but no result.
How can I solve it and can Bruteforce attacks be its cause?
If yes how can I prevent it?
Thank u and CWP team
-
I think that the problem is your php version.
My CWP is running phpmyadmin 4.6.6 and when I check the page:
https://www.phpmyadmin.net/files/4.6.6/
I think you should have a lower php version (7.1 max)
Can you try php 5.6.30 just to make sure that that is the problem.