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:
http://172.16.1.254:10080/marketing/dropbox_importProdOnHand.php";.

this error returns in 60 seconds.

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

in PHP.INI, there is this:
max_execution_time=30

and the apache httpd.conf file has
TimeOut 30000

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2021 by midrange.com 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.