Edit report at https://bugs.php.net/bug.php?id=55609&edit=1

 ID:                 55609
 Updated by:         johan...@php.net
 Reported by:        johan...@php.net
 Summary:            mysqlnd cannot be built shared
-Status:             Open
+Status:             Assigned
 Type:               Feature/Change Request
 Package:            MySQL related
 Operating System:   *
 PHP Version:        trunk-SVN-2011-09-05 (SVN)
-Assigned To:        
+Assigned To:        mysql
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[2011-09-05 16:46:47] johan...@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] johan...@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

Reply via email to