PHP Aborting when creating large .zip file

前端 未结 4 582
轻奢々
轻奢々 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:07

    When your file size is big it will take time to make its archive ZIP, but in PHP (php.ini) maximum execution time, so you must try to increase that value.

提交回复
热议问题