Re: [PHP] using phar and compression

2012-08-09 Thread Hajo Locke
- Original Message - From: Alan Hoffmeister alanhoffmeis...@gmail.com To: Hajo Locke hajo.lo...@gmx.de 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 what happens

[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; ?php $phar = new Phar('project.phar', 0, 'project.phar'); $phar-buildFromDirectory(dirname(__FILE__) . '/web'); $phar-setStub($phar-createDefaultStub('index.php'));