|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-01-16 11:16 UTC] cmb@php.net
-Package: *General Issues
+Package: PHAR related
[2021-01-19 17:52 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2021-01-19 17:52 UTC] cmb@php.net
[2021-01-19 18:00 UTC] escalle dot emilien at gmail dot com
-Status: Feedback
+Status: Assigned
[2021-01-19 18:00 UTC] escalle dot emilien at gmail dot com
[2021-01-19 18:03 UTC] cmb@php.net
-Status: Assigned
+Status: Not a bug
[2021-01-19 18:03 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
Description: ------------ Hi, I got an error when using \PharData::buildFromDirectory on a huge directory (608MB) : PharException - "tar-based phar "..." cannot be created, header for file "..." could not be written" I've checked the free disk space and RAM, everything seems to be ok. I've delete the file which is specified by the error, but the errors occurs on another file. The error is not verbose to understand what happens. Test script: --------------- $oTar = new \PharData('test_dir/test.tar.gz'); $oTar->buildFromDirectory('/test_dir_huge/'); // /test_dir_huge/ is a direcotry of 608MB $oTarGz = $oTar->compress(\Phar::GZ);