Re: [PHP] using phar and compression

2012-08-09 Thread Hajo Locke
Thanks, Hajo - Original Message - From: "Alan Hoffmeister" To: "Hajo Locke" Sent: Wednesday, August 08, 2012 1:32 PM Subject: Re: [PHP] using phar and compression Why don't you use Phar::compress() instead of Phar::convertToExecutable() and see

[PHP] using phar and compression

2012-08-08 Thread Hajo Locke
Hello, i do some tests with phar. I have following script which is just adding some file and index.php is echoing "hello"; buildFromDirectory(dirname(__FILE__) . '/web'); $phar->setStub($phar->createDefaultStub('index.php')); $compressed = $phar->convertToExecutable(Phar::PHAR,Phar::GZ, '.phar