php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3020 mysql module won't compile as a DSO
Submitted: 1999-12-21 15:36 UTC Modified: 1999-12-28 02:27 UTC
From: work at scripty dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Beta 3 OS: Redhat 6.1
Private report: No CVE-ID: None
 [1999-12-21 15:36 UTC] work at scripty dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-22 22:44 UTC] sas at cvs dot php dot net
Check the top_builddir/modules directory. After make install, you will find a mysql.so there.
 [1999-12-28 02:27 UTC] work at scripty dot com
I found out my problem. The MySQL 3.22.27 binaries don't include shared 
libraires. You need the version 3.23.x rpms which include shared
libaries. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 18:01:36 2024 UTC