php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18749 can not create mysql.so
Submitted: 2002-08-05 19:15 UTC Modified: 2002-08-06 01:20 UTC
From: PLancashire at Columbia dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.1.2 OS: RedHat Linux 7.3
Private report: No CVE-ID: None
 [2002-08-05 19:15 UTC] PLancashire at Columbia dot com
O/S RedHat 7.3 from CD, "everything" install
Mysql 4.0.2 RPM from Mysql.com
   mysql  Ver 12.10 Distrib 4.0.2-alpha, for pc-linux-gnu
   (i686)

Had to upgrade Mysql .. have no way to upgrade PHP from
RedHat. So want to create my own version of /lib/php4/myslq.so. RedHat 7.3 uses PHP 4.1.2, Mysql
4.x has newer client library.

the ./ext/mysql/Makefile calles for the shared library
to have he extension .la not .so

used ./configure --enable-shared --with-mysql=/usr

and ./configure --enable-shared --with-mysql=shared,/usr

also have added --disable-static

after going into ./ext/mysql doing make .. there is no
.so lib just a .la

I have been told by management if this doesnt work by
Wednesday, to not use PHP.

Please .. need to know what I am doing wrong





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-05 19:31 UTC] sniper@php.net
First of all, try this with PHP 4.2.2. 

And there is no real support for Mysql 4.x yet in any
released PHP version (there is no stable release of mysql 4.x afaik). But you should be able to use the current stable client libs to connect to 4.x mysql server anyway..




 [2002-08-05 19:44 UTC] PLancashire at Columbia dot com
used the RedHat ./configure
copied ./ext/mysql/.libs/mysql.so to /usr/lib/php4

and .. it works.

I'm going to see what I can do to get RedHat to release
a PHP 4.2.2 version for 7.3

sorry for all the hassle but now I'm not going to be
able to use any of the RedHat RPMs for PHP. Not PHP.net's
problem but a hassle.

Thanks for the help, its not been fun trying to keep 
those that want to convert to 100% Microsort off my
back. I normally do build from scratch but just dont
have the time.

-pete
 [2002-08-06 01:20 UTC] georg@php.net
Except of the replication functions, PHP Version 4.2.2 (and current cvs version) supports all additional MySQL 4.0.x features. You can download it from the php.net website or a mirror.  
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 10 11:01:27 2024 UTC