mysqlnd as a shared extension ?
| From: | Remi Collet | Date: | Mon, 17 Aug 2009 17:12:46 +0000 |
| Subject: | mysqlnd as a shared extension ? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-45302@lists.php.net to get a copy of this message | ||
Hi,
Building 5.3.1 snapshot with options
--with-mysql=shared,mysqlnd
--with-mysqli=shared,mysqlnd
--with-pdo-mysql=shared,mysqlnd
create 3 .so files, ok.
But mysqlnd extension still build as static within php core.
Is it a way to build mysqlnd as a shared extension ?
Don't find any option and .m4 file set this extension as static
(changing this result in a .so which cannot be load)
My goal will be to provides both solutions (libmysql and mysqlnd) to be
able to quickly switch from one to the other (for tests / benchmark)
Any idea / solution ?
Regards.
P.S. main question is probably, should we use mysqlnd under linux ?