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.


Topics - Flegma

Pages: [1]
1
Apache / Apache 2.4.23 (and .25) Timeout hardcoded?
« on: June 10, 2017, 07:45:02 AM »
Hello,
i have a long running php script that imports CSV files (it runs about 5-7 minutes).
In php.ini there is

max_execution_time = 900
max_input_time = 900
memory_limit = 1024M
default_socket_timeout = 900

and in httpd.conf there is
Timeout 60 (default setting)

But every time script times out exactly 120 seconds after start. I tried putting Timeout 300 in httpd-default.conf, but nothing happens, still throwing error 500 (script timed out before returning headers) every time.

Somewhere i have read that apache has hardcoded timeout for php-fpm, but im using suPHP (cwp default apache installation) and i cannot find the problem.

Anyone knows the solution?


Best regards

2
Apache / Apache without suPHP / with DSO
« on: April 16, 2015, 10:09:59 AM »
Hello,
i would like to rebuild Apache to use DSO as PHP handler. I need it for APC to work properly, but in CWP i can rebuild only with mod_suphp.
Is there a workaround for this?
Thanks.


Pages: [1]