Re: Using the pear installer (or pyrus) as an applicationdeployment tool

From: Date: Wed, 28 Oct 2009 19:32:14 +0000
Subject: Re: Using the pear installer (or pyrus) as an applicationdeployment tool
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-52987@lists.php.net to get a copy of this message
Am 28.10.2009 14:46, schrieb Greg Beaver:
Stephan Wentz wrote:
An alternative to this would be to distribute the contents as a phar which would preserve everything and prevent inadvertent modification.
Phar was my first thought, too. But with that many components (and thus, phars) my tests really didn't produce very good performance - it was something like 3 times slower. APC was enabled, I didn't look deeper into this and why it's getting so slow. Did anyone here in this group run some tests with lots of phars (not only one)?
Did you try enabling phar.cache_list? http://us.php.net/manual/en/phar.configuration.php#ini.phar.cache-list That tends to make performance much better, although it won't match APC outside of a phar, because all files must route through PHP and phar, losing some of the webserver efficiency.
Yea, did some performance testing with it. It works fine, and is nearly as fast as without phar, but it's really a hassle to maintain. Don't think this is an option for us. Hmm, or maybe... Can this setting be overriden by virtualhosts? Or is it a fixed value that's only allowed in the main php.ini? Stephan

« previous php.pear.dev (#52987) next »