I have numerous functioning scripts which create a csv file with the results of a MySQL query and hand the result off to the browser for download (and will need to address uploading like-sized files as well).
My problem occurs when file size and execution times become excessive; for example, if I use phpMyAdmin to create the same file I am attempting with my code, the result is 122+Mb that takes some 10 minutes to create... I have tried adding various environment variable mods to an .htaccess file to no avail:
Errors such as this, or simple time-outs persist:
I have noticed several commercial apps I use seem to use javascript in order to keep sessions alive during large file creation...
Is anyone here aware of a resource I might use to resolve my problem?
TIA,
-Allen M.
My problem occurs when file size and execution times become excessive; for example, if I use phpMyAdmin to create the same file I am attempting with my code, the result is 122+Mb that takes some 10 minutes to create... I have tried adding various environment variable mods to an .htaccess file to no avail:
Code:
php_value upload_max_filesize 256M
php_value post_max_size 256M
php_value max_execution_time 900
php_value max_input_time 900
php_value memory_limit 512M
Errors such as this, or simple time-outs persist:
Code:
Fatal error: Out of memory (allocated 166199296) (tried to allocate 165937300 bytes)
I have noticed several commercial apps I use seem to use javascript in order to keep sessions alive during large file creation...
Is anyone here aware of a resource I might use to resolve my problem?
TIA,
-Allen M.