Re: [RFC] Extension Prepend Files

From: Date: Wed, 07 Jan 2015 10:15:48 +0000
Subject: Re: [RFC] Extension Prepend Files
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-80248@lists.php.net to get a copy of this message
On Tue, 6 Jan 2015, Stanislav Malyshev wrote: > > But, if we consider the PHP code as an integral part of the > > extension, this should be avoided, as C and PHP code need to be kept > > in sync. > > Again, there is a multitude of solutions for this, all in the realm of > packaging. It's not like we've just encountered the idea of software > package having more than one file. There is currently no way to install an extension and a PHP library package at the same time. "pecl" can't install PHP libraries, and "composer" can't install extensions. And even if it did, keeping the versions in sync is not easy at all. Only way to solve this properly is to allow PHP code embeded in the extension. Just like the couchdb ext does, or Benjamin wants to do with the qafooprofiler, or HHVM does it through HNI. cheers, Derick

« previous php.internals (#80248) next »