Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2012 09:13:07 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        freebsd-ports@freebsd.org
Cc:        olli hauer <ohauer@gmx.de>
Subject:   Re: php5 and pgsql/sqlite
Message-ID:  <E1SG2Pz-000Hky-UY@kabab.cs.huji.ac.il>
In-Reply-To: Your message of Tue, 03 Apr 2012 09:31:29 %2B0200.

next in thread | raw e-mail | index | archive | help
problem solved, compiling php with:
   LINKTHR=on "Link thread lib (for threaded extensions)"
fixed it.

> On 2012-04-02 17:22, Daniel Braniss wrote:
> > hi,
> > whenever extensions=pgsql.so or/and extensions=slqlite3.so is added
> > php exits with error (Exit 1)
> > 
> > without those modules:
> > % php -v
> > PHP 5.3.10 with Suhosin-Patch (cli) (built: Apr  2 2012 14:28:23) 
> > Copyright (c) 1997-2012 The PHP Group
> > Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
> > 
> [...]
> > 
> > [Zend Modules]
> > 
> > 
> > but when adding, for example extension=pgsql.so to 
> > /usr/local/etc/php/extensions.ini
> > 
> > php exits with error
> > 
> > BTW, I noticed the problem after I compiled php5-extensions.
> > so, what am I doing wrong? 
> > 
> 
> Hi Daniel,
> 
> I suspect it is the ordering in /usr/local/etc/php/extensions.ini.
> Maybe the following script can help to solve your issue.
> http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh
> 
> There are not all extensions in the script but it is a starting point.
> 
> --
> Regards,
> olli





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1SG2Pz-000Hky-UY>