Req #55609 [PATCH]: mysqlnd cannot be built shared
Edit report at https://bugs.php.net/bug.php?id=55609&edit=1
ID: 55609
Patch added by: johannes@php.net
Reported by: johannes@php.net
Summary: mysqlnd cannot be built shared
Status: Assigned
Type: Feature/Change Request
Package: MySQL related
Operating System: *
PHP Version: trunk-SVN-2011-09-05 (SVN)
Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: mysqlnd_build_shared.diff
Revision: 1315247030
URL: https://bugs.php.net/patch-display.php?bug=55609&patch=mysqlnd_build_shared.diff&revision=1315247030
Previous Comments:
------------------------------------------------------------------------
[2011-09-05 16:48:49] johannes@php.net
The attached patch adds an option --enable-mysqlnd which can be used like any other normal configure
option. Therefore mysqlnd could be built even when no other MySQL extension was activated. It's
also possible to use --enable-mysqlnd=shared
After applying this patch myslqnd won't compile shared due to issues in mysqlnd_compat.h
------------------------------------------------------------------------
[2011-09-05 16:46:47] johannes@php.net
The following patch has been added/updated:
Patch Name: mysqlnd_build_shared.diff
Revision: 1315241207
URL: https://bugs.php.net/patch-display.php?bug=55609&patch=mysqlnd_build_shared.diff&revision=1315241207
------------------------------------------------------------------------
[2011-09-05 16:45:54] johannes@php.net
Description:
------------
When PHP is built with MySQL support usinge mysqlnd the mysqlnd module will always be compiled
statically into PHP. mysqlnd can be enabled or disabled but not be built shared.
Test script:
---------------
./configure --with-mysql=mysqlnd,shared \
--with-mysqli=mysqlnd,shared \
--with-pdo-mysql=mysqlnd,shared
make
Expected result:
----------------
Option to build mysqlnd shared.
Actual result:
--------------
A mysqlnd.so should be created during make.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55609&edit=1
Thread (7 messages)