PHP 4.0 Bug #3020: mysql module won't compile as a DSO
| From: | work at scripty dot com | Date: | Tue, 21 Dec 1999 20:36:20 +0000 |
| Subject: | PHP 4.0 Bug #3020: mysql module won't compile as a DSO | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13917@lists.php.net to get a copy of this message | ||
From: work@scripty.com
Operating system: Redhat 6.1
PHP version: 4.0 Beta 3
PHP Bug Type: MySQL related
Bug description: mysql module won't compile as a DSO
Using Apache 1.3.9 with apxs and MySQL 3.22.27-1 rpms from mysql.com.
I'm using this configure line to compile the mysql php module as a dso:
./configure --with-apxs --enable-versioning --enable-track-vars --with-mysql=shared --with-gdbm
--with-ftp --enable-sysvsem --enable-sysvshm --with-zlib
The libphp4.so is built properly, but the mysql php module is build as a static library of mysql.a.
It should build a dso of mysql.so.
If I change --with-mysql=shared to just --with-mysql then the mysql php module is compiled into
libphp4.so and works fine. DSO support would be nice.