Re: max_execution_time and set_time_limit() problem.
| From: | Marek Kilimajer | Date: | Wed, 05 Mar 2003 12:03:25 +0000 |
| Subject: | Re: max_execution_time and set_time_limit() problem. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138254@lists.php.net to get a copy of this message | ||
This should not have anything with time limit, your php script is executed after the upload finishes, you should check max_upload_size and max_post_size (max_upload_size < max_post_size)
Eric Wood wrote:
Even set_time_limit(0) does extend the timeout. Always a 30 second timeout. Any other ideas? thanks, -eric woodI'm uploading a large file through my web page and after 30 seconds, the fails with an error. I bumbed the max_execution_time parameter in /etc/php.ini to 600 seconds and restarted apache. Still errors at 30 seconds. I added set_time_limit(600); to various place in my file upload handling script... still errors at 30 seconds. Is this just a good 'ol bug in my Redhat 7.3 version of PHP?: $ rpm -q php php-4.1.2-7.3.6