I've given up on PharData. It hasn't been a good experience, I'm back to using exec and tar czf and checking $results !== 0 for errors.
Issues so far were 100 filename character limitation, the tmp folder piling up during script execution, as well as other annoyances I don't think I really care for anymore.
# Compression
exec("tar czf $tgz_file -C $source .", $output, $results);
# Decompression
exec("tar xzf $tgz_file -C $output_folder", $output, $results);
Thanks for your help.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.