[arch-general] Making a PHP package with the embed SAPI

Brendan Long korin43 at gmail.com
Wed Dec 9 00:44:47 EST 2009


My problem isn't creating a custom php package, the problem is creating 
one that installs to /usr but doesn't conflict with the official php 
package. I'd like to be able to install it just like you can install 
php-mcrypt and php-mysql.

On 12/8/2009 7:43 PM, Denis Kobozev wrote:
> On Thu, Dec 3, 2009 at 11:56 PM, Brendan Long<korin43 at gmail.com>  wrote:
>    
>> I'm
>> wondering if anyone has any ideas of how to make this a simple php-embed
>> package that would only install the needed parts.
>>      
> I became curios how other distros package phc - turns out they don't.
> There are two packages provided on phc website, one for RPM-based
> systems, other for FreeBSD. Both packages are outdated and neither
> tackles custom php build flags. It might be that a custom build of PHP
> wasn't required in prior versions.
>
> Suggestion: create a PHP package built with --enable-embed flag, name
> it something other than php and make it a dependency for the phc
> package. Anyone care to comment why this might be a bad idea?
>    



More information about the arch-general mailing list