Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DangerD2

Pages: [1]
1
PHP Selector / Re: PHP-FPM Selector php 5.6 issue
« on: October 26, 2020, 01:12:24 PM »
did you tried restarting the server ?
yes, after whole server restart is stopped to work

2
PHP Selector / Re: PHP-FPM Selector php 5.6 issue
« on: October 24, 2020, 09:33:23 AM »
Installed php5.5 works fine, 5.6 not starting

3
PHP Selector / PHP-FPM Selector php 5.6 issue
« on: October 24, 2020, 08:27:05 AM »
Some of websites are using old php 5.6

Code: [Select]
Starting php-fpm [24-Oct-2020 11:19:52] ERROR: An another FPM instance seems to already listen on /opt/alt/php-fpm56/usr/var/sockets/cwpsvc.sock
[24-Oct-2020 11:19:52] ERROR: FPM initialization failed
 failed

And php error in log :
Code: [Select]
PHP Fatal error:  Call to undefined function mysql_connect() in ...
Any suggestions? It worked before well and stopped after server reboot..


4
SSL / Re: Validation disabled for letsencrypt V1 API
« on: September 09, 2020, 08:31:02 AM »
didn't helped..

5
For centos 6 use

wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.793.zip
unzip -o cwp2-0.9.8.793.zip
rm -f cwp2-0.9.8.793.zip

6
CentOS 6 Problems / Re: Centos webpanel HTTP 500 Error
« on: June 14, 2020, 12:25:10 PM »
[root@server htdocs]# sh /scripts/update_cwp
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
 in Unknown on line 0

7
CentOS 6 Problems / Re: Centos webpanel HTTP 500 Error
« on: June 14, 2020, 12:17:45 PM »
2020/06/14 15:08:30 [error] 3435#0: *1697 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 185.244.159.43, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:"

How can i fix that?

8
CentOS 6 Problems / Centos webpanel HTTP 500 Error
« on: June 14, 2020, 12:14:14 PM »
Recently it stopped to work, ioncube version error, after updating with yum update ioncube started to work and now i'm receiving HTTP 500 error while trying to open webpanel...

Where i can see error log?

9
After
Code: [Select]
yum -y update
sh /scripts/update_ioncube
service cwpsrv reload

I have HTTP ERROR 500

ioncube installed
Code: [Select]
PHP 7.2.30 (cli) (built: Apr 29 2020 05:07:56) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.3.2, Copyright (c) 2002-2018, by ionCube Ltd.

10
Nginx / Nginx & Varnish & Apache + php-fpm - Increase timeout (How to?)
« on: November 09, 2019, 09:05:23 AM »
Trying to increase php script time more than 1 minute:

/etc/nginx/proxy.inc
proxy_connect_timeout 240s;
proxy_send_timeout 600;
proxy_read_timeout 600;

php.ini
max_execution_time 300
default_socket_timeout 600

But i'm keep receiving 504 Gateway timeout...
What extra setting i should change?

Pages: [1]