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 - pkt06

Pages: [1]
1
CentOS 7 Problems / How setting timeout in Nginx/Apache server
« on: July 07, 2020, 08:01:46 PM »
Hello,
I've a server with cwp 0.9.8.980, php 7.0.33, Apache 2.4.39 and is configurated in nginx->apache->php-cgi
In this server they have a script which call an url and waiting his response, most of the time this response is fast, but sometimes they take more time (more than 10s).

I try to change in file /etc/nginx/nginx.conf many values like :
   client_header_timeout 4m;
   client_body_timeout 4m;
   send_timeout 4m;
   keepalive_timeout 120 120;
   proxy_connect_timeout   900;
   proxy_send_timeout  900;
   proxy_read_timeout  900;

I try also to add in /usr/local/apache/conf/httpd.conf
   TimeOut 3600
   
But nothing seems to change the timeout. Where I can change this waiting for more times ?

2
PHP Selector / Re: Php Not working
« on: October 07, 2019, 03:53:12 PM »
In fact the problem it's only if I select nginx->apache->php-fpm, if I select nginx->apache->php-cgi my site works.
Why if I select nginx->apache->php-fpm, I have 503 error Service Unavailable ?

Thanks for your returns

3
PHP Selector / Php Not working
« on: October 07, 2019, 12:00:09 PM »
Hello,

I'm a big problem, my server works well for many days, and sudenly php not works, when I go to Php selector all php version is in red.

My configuration it's Nginx & Apache.
When I go to cwp admin in php-info it display well, bu if I copy php file with phpinfo(); they don't display, it display error 503 Service Unavailable
 
I try to restart Nginx, it's my log messages file:
Oct  7 13:45:24 ns520462 systemd: Stopping nginx - high performance web server...
Oct  7 13:45:24 ns520462 systemd: Stopped nginx - high performance web server.
Oct  7 13:45:24 ns520462 systemd: Starting nginx - high performance web server...
Oct  7 13:45:24 ns520462 nginx: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/hostname-ssl.conf:8
Oct  7 13:45:24 ns520462 nginx: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/lachineuse.com.ssl.conf:8
Oct  7 13:45:24 ns520462 nginx: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/themeastral.net.ssl.conf:8
Oct  7 13:45:24 ns520462 systemd: Started nginx - high performance web server.
Oct  7 13:46:01 ns520462 systemd: Started Session c439 of user root.
Oct  7 13:47:01 ns520462 systemd: Started Session c440 of user root.
Oct  7 13:47:43 ns520462 clamd: SelfCheck: Database status OK.

For Apache:
Oct  7 13:51:35 ns520462 systemd: Stopped Web server Apache.
Oct  7 13:51:35 ns520462 systemd: Starting Web server Apache...
Oct  7 13:51:35 ns520462 apachectl: [Mon Oct 07 13:51:35.172080 2019] [so:warn] [pid 3711:tid 140469397518208] AH01574: module http2_module is already loaded, skipping
Oct  7 13:51:35 ns520462 systemd: Started Web server Apache.
Oct  7 13:52:01 ns520462 systemd: Started Session c446 of user root.

I try to rebuild server and host, but all php versions is always in red.
Are you an idea for the solution of problem?

Pages: [1]