changed the RequestTimeout setting in fastcgi.conf

that worked. The PHP job does not time out.

any way I can apply this timeout change to this specific PHP script?
Changing fastcgi.conf sets the timeout at the server level.

On Fri, Sep 28, 2018 at 3:53 PM, Steve Richter <stephenrichter@xxxxxxxxx>

how to set PHP timeout to nomax?

I have a PHP script that is run using HTTPGETCLOB. It runs as part of a
batch job on the IBM i. Getting HTTP response code 408 - request timeout.

Java stored procedure or user-defined function SYSTOOLS.HTTPGETCLOB,
specific name HTTPG00005 aborted with an exception "Server returned
HTTP response code: 408 for URL:";.

this error returns in 60 seconds.

In the PHP script I run:
ini_set('max_execution_time', 300);

in PHP.INI, there is this:

and the apache httpd.conf file has
TimeOut 30000

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.