Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62337 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70101 invoked from network); 21 Aug 2012 10:10:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2012 10:10:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.22 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.22 smtp2.ist.utl.pt Linux 2.6 Received: from [193.136.128.22] ([193.136.128.22:49871] helo=smtp2.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/31-64184-DAE53305 for ; Tue, 21 Aug 2012 06:10:54 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id 011B870003D8 for ; Tue, 21 Aug 2012 11:10:51 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp2.ist.utl.pt ([127.0.0.1]) by localhost (smtp2.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id rUDkOk4zqUYo for ; Tue, 21 Aug 2012 11:10:50 +0100 (WEST) Received: from nebm.ist.utl.pt (unknown [IPv6:2001:690:2100:4::58:1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id B5AD9700044F for ; Tue, 21 Aug 2012 11:10:50 +0100 (WEST) Received: from localhost ([127.0.0.1] helo=nebm.ist.utl.pt) by nebm.ist.utl.pt with esmtp (Exim 4.72) (envelope-from ) id 1T3lQA-0007HV-Jl for internals@lists.php.net; Tue, 21 Aug 2012 11:10:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 21 Aug 2012 12:10:50 +0200 To: Organization: =?UTF-8?Q?N=C3=BAcleo_de_Engenharia_Biom=C3=A9dica_do_Insti?= =?UTF-8?Q?tuto_Superior_T=C3=A9cnico?= In-Reply-To: <503349C4.8070808@lsces.co.uk> References: <5032B197.9080502@lsces.co.uk> <5032BF77.6060108@lsces.co.uk> <5032C533.4070809@lerdorf.com> <5032D277.5050003@lsces.co.uk> <5032D427.70705@lerdorf.com> <503349C4.8070808@lsces.co.uk> Message-ID: <11efbe6b52ab1c3179f47595d9d4a3c9@nebm.ist.utl.pt> X-Sender: glopes@nebm.ist.utl.pt User-Agent: RoundCube Webmail/0.8-rc Subject: Re: [PHP-DEV] shared mysqlnd extension ... From: glopes@nebm.ist.utl.pt (Gustavo Lopes) Em 2012-08-21 10:41, Lester Caine escreveu: > > SO I simply assumed that was the case, it does not give an error > message like other miss configurations do ... > AH - JUST use --enable-mysqlnd=shared and don't add the mysqli shared > module at the same time and the core build happily creates a shared > module! But ... > "Unable to load dynamic library '/opt/php5/ext/mysqlnd.so' - > /opt/php5/ext/mysqlnd.so: undefined symbol: executor_globals in > Unknown on line 0" > > THIS the same problem I get if I don't recompile the extensions after > changing the core build and the feedback was that this is because of > using incompatible php-config files! > > So should I be updating that bug to the current state of play? That > this is actually by design? Or create a new bug that states that > '--enable-mysqlnd=shared' should not be allowed? Or is there some > third position in this jigsaw? > It usually helps that the extension you compile is binary compatible with the PHP build you're loading it in. In your case, I'd guess you compiled PHP with ZTS support but mysqlnd without. As to whether '--enable-mysqlnd=shared' actually works or not I can't be sure as I haven't tested it. But there's nothing in the problem you're having that points to it not working when built properly. -- Gustavo Lopes