On Wed, 2005-05-25 at 18:10 +0200, Piotras wrote:
> Mike Bedwell <[EMAIL PROTECTED]> wrote:
> 
> > I modified Gentoo's ebuild file for php to include
> > --enable-experimental-zts and then recompiled midgard-php and all seems
> > to be fine now, modules load and everything.  i don't know if that means
> > there is a bug in Gentoo's method of installing php (doesn't enable zts)
> > and mod_php (does enable zts), or if there is a bug in
> > midgard-php(doesn't detect that it should enable zts).  But, it does
> > correct the problem to make sure that both mod_php and cli php are
> > compiled with zts.  
> 
> no idea.
> ZTS should be defined by (un)commented 'define ZTS' in one of php header 
> files. IIRC.
> 
> 
> Piotras

no clue myself, either way it works now, and I have basic gentoo ebuild
files available.  They aren't yet as automated as an ebuild file should
be, as, php.ini has to be edited to include the extension = midgard.so
directive, and, post installation stuff I don't think can be automated
(setting up the database, etc), also, had to modify the gentoo ebuild
file for cli php.  What would be the best way to make them available for
those interested?  For now, they can be had at the following links, but
I don't have much for bandwidth, so they may disappear if the bandwidth
spikes too much  http://www.sicktek.com/midgard/  I've included the
modified php ebuild so that it gets built correctly to enable zts.      
-- 
Mike

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to