#18749 [Fbk->Opn]: can not create mysql.so
| From: | PLancashire at Columbia dot com | Date: | Mon, 05 Aug 2002 23:44:35 +0000 |
| Subject: | #18749 [Fbk->Opn]: can not create mysql.so | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16042@lists.php.net to get a copy of this message | ||
ID: 18749
User updated by: PLancashire@Columbia.com
Reported By: PLancashire@Columbia.com
-Status: Feedback
+Status: Open
Bug Type: MySQL related
Operating System: RedHat Linux 7.3
PHP Version: 4.1.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-08-05 19:31:03] 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:15:33] PLancashire@Columbia.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18749&edit=1