PHP Aborting when creating large .zip file

前端 未结 4 599
轻奢々
轻奢々 2020-12-19 02:36

My php script running on CentOS 5.6 and PHP 5.2.12 using ZipArchive() and successfully creates .zip files over 1.6Gb but not for a larger archive of 2GB or larger - PHP abor

4条回答
  •  余生分开走
    2020-12-19 03:19

    Do you have use set_limit variables in php.

    You can use the. Htacess or within the PHP script. Inside the script set_time_limit(0); Inside the .htaccess php_value memory_limit 214572800;

提交回复
热议问题