Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-24 Thread Kai Schaetzl
David Christopher Zentgraf wrote on Wed, 24 Oct 2007 11:18:48 +0900: > Same dependencies as before. Hm, I don't see how it can build then. If it depends on a linked library that you moved away it should not build I think. Anyway, I really suggest you ask on comp.lang.php. This is not a CentOS

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-24 Thread David Christopher Zentgraf
On 24. Oct 2007, at 11:38, Akemi Yagi wrote: Not a CentOS page, but may provide you with some info: http://fedoraproject.org/wiki/PackageMaintainers/MockTricks Hmm, okay, so far so good. But how to I best get mock? It's not in CentOS 3's yum as far as I can see, and that's about the only i

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread Akemi Yagi
On 10/23/07, David Christopher Zentgraf <[EMAIL PROTECTED]> wrote: > On 24. Oct 2007, at 5:32, Kai Schaetzl wrote: > > > And what dependency does ldd show now? > > I think what Johnny proposed should you help out of this. > > Same dependencies as before. > I'll look at mock as suggested. Since I'v

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread David Christopher Zentgraf
On 24. Oct 2007, at 5:32, Kai Schaetzl wrote: And what dependency does ldd show now? I think what Johnny proposed should you help out of this. Same dependencies as before. I'll look at mock as suggested. Since I've never used it before, would you mind elaborating a bit what it'll do for me?

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread Kai Schaetzl
David Christopher Zentgraf wrote on Tue, 23 Oct 2007 21:52:33 +0900: > Same thing. And what dependency does ldd show now? I think what Johnny proposed should you help out of this. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 21:15, Kai Schaetzl wrote: Well, the problem is that you have several client libraries on the machine. AFAIK there is no way to specify a specific version of it, so you have to move the others out of the way when you build (by renaming). Later you can put them back. I

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 21:15, Kai Schaetzl wrote: Well, the problem is that you have several client libraries on the machine. AFAIK there is no way to specify a specific version of it, so you have to move the others out of the way when you build (by renaming). Later you can put them back. I

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread Kai Schaetzl
David Christopher Zentgraf wrote on Tue, 23 Oct 2007 19:57:12 +0900: > I tried compiling PHP with '--with-mysql', '--with-mysql-dir=/usr' > and without explicitly specifying it, always the same outcome. Of course. I'm not an expert in this, but I guess when you specify the lib directory it is

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 18:07, Johnny Hughes wrote: If you compile it on a machine that has only mysql-5.x and mysql-devel-5.x on it, it should then link against the proper files. Hopefully you are making RPMS and not doing installs from source. I was tempted there for a second, but no, I'm usin

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread Johnny Hughes
David Christopher Zentgraf wrote: > On 23. Oct 2007, at 19:32, Kai Schaetzl wrote: > >> Have you tried renaming libmysqlclient.so.10? Also, are you sure that it >> is libmysqlclient.so.10 that is getting used and not the client coming >> with PHP? If I remember correctly PHP (at least before 5) l

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 19:32, Kai Schaetzl wrote: Have you tried renaming libmysqlclient.so.10? Also, are you sure that it is libmysqlclient.so.10 that is getting used and not the client coming with PHP? If I remember correctly PHP (at least before 5) links against a client library that comes

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread Kai Schaetzl
Johnny Hughes wrote on Tue, 23 Oct 2007 04:07:40 -0500: > php-4.3.9 Unfortunately, there's a lot of applications that need 4.4.3 and up. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread Kai Schaetzl
David Zentgraf wrote on Tue, 23 Oct 2007 17:27:20 +0900: > How do I update/replace/relink the php-mysql connector to have PHP > talk to MySQL using the current client libraries? Have you tried renaming libmysqlclient.so.10? Also, are you sure that it is libmysqlclient.so.10 that is getting use

Re: [CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread Johnny Hughes
David Zentgraf wrote: > Hi, > > I have a CentOS 3 server that I need to update to MySQL 5 + PHP4. I > downloaded and installed the MySQL client and server RPM packages for > Red Hat 3, including the Shared Compatibility Libraries which provide > /usr/lib/libmysqlclient.so.10, .12, .14 and .15, whi

[CentOS] Upgrading PHP + MySQL on CentOS 3

2007-10-23 Thread David Zentgraf
Hi, I have a CentOS 3 server that I need to update to MySQL 5 + PHP4. I downloaded and installed the MySQL client and server RPM packages for Red Hat 3, including the Shared Compatibility Libraries which provide /usr/lib/libmysqlclient.so.10, .12, .14 and .15, which seems to be the recomm