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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to