Re: shared mysqlnd extension ...

From: Date: Tue, 21 Aug 2012 08:41:40 +0000
Subject: Re: shared mysqlnd extension ...
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-62335@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote:
mysqlnd is not a standalone extension at all. It is infrastructure code that needs to be linked into your PHP in order for extensions to use it.
OK that is the key piece of information I was missing. I though we had got over the 'needs to be built in' and had made it optional! I asked originally on php-general and was pointed to Fixed bug http://bugs.php.net/55609 (mysqlnd cannot be built shared). (Johannes) This specifically say ... "It's also possible to use --enable-mysqlnd=shared" 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? Anyway I now have parallel apache modules one with and one without mysqlnd ... after screwing up the entire machine because I forgot that php overwrites the modules in apache even with apache running :( Now to move all the mysql data over ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#62335) next »