Re: [PHP] Re: Which PHP for MySQL 4.1

2004-11-12 Thread Sebastian Mendel
Mario Bittencourt wrote:
I could not compile php 5.0.2 with the latest mysql 4.1.7.
I've installed the rpms (server,max,client,devel,shared) from mysql.com.
./configure --with-mnogosearch --with-xml  --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config --with-apxs2 --enable-soap
When I compile I get tons of messages like this
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x250): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x330): In function
`net_write_command':
I have even tried only with mysqli or mysql and got the same result.
Any ideias ?
try one mysql-extension as shared:
--with-mysql=/usr,shared --with-mysqli=/usr/bin/mysql_config
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: Which PHP for MySQL 4.1

2004-11-12 Thread John Nichel
Mario Bittencourt wrote:
I could not compile php 5.0.2 with the latest mysql 4.1.7.
I've installed the rpms (server,max,client,devel,shared) from mysql.com.
./configure --with-mnogosearch --with-xml  --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config --with-apxs2 --enable-soap
When I compile I get tons of messages like this
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x250): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x330): In function
`net_write_command':
I have even tried only with mysqli or mysql and got the same result.
Any ideias ?
I'm betting you have mnogosearch compiled with MySQL support, right?  I 
had this problem last week.  Remove mnogosearch, recompile it without 
MySQL support, then configure/make/make install php.  After that's done, 
you can redo mnogosearch with MySQL support.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: Which PHP for MySQL 4.1

2004-11-12 Thread Mario Bittencourt
I could not compile php 5.0.2 with the latest mysql 4.1.7.

I've installed the rpms (server,max,client,devel,shared) from mysql.com.

./configure --with-mnogosearch --with-xml  --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config --with-apxs2 --enable-soap

When I compile I get tons of messages like this

/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x250): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x330): In function
`net_write_command':

I have even tried only with mysqli or mysql and got the same result.

Any ideias ?

Fedora Core 3 Machine

On Fri, 12 Nov 2004 11:03:23 +0100, Sebastian Mendel
<[EMAIL PROTECTED]> wrote:
> 
> 
> C.F. Scheidecker Antunes wrote:
> > Hello,
> >
> > I would like to migrate my MySQL servers from 4.0 to 4.1.
> >
> > As I use PHP as well as Java with these servers I wonder what PHP 4
> > version would be compatible with MySQL 4.1.
> >
> > Has anyone used MySQL 4.1 with PHP yet?
> >
> > I appreciate your thoughts.
> >
> > Thanks.
> 
> i run 4.1.x for a while, without problems,
> 
> after upgrading you have to rebuild you php to use the new mysql_librarys
> 
> and you have to run mysql_fix_privilege_tables on the linux/unix shell
> 
> 4.1. uses a new display-format for timestamps!
> 4.1. uses a new encryption method for password(), with this function are
> all mysql_passwords stored in the db, thats why you have to run
> mysql_fix_privilege_tables
> 
> read carefully through all 4.1. changelogs!
> 
> --
> Sebastian Mendel
> 
> www.sebastianmendel.de www.warzonez.de www.tekkno4u.de www.nofetish.com
> www.sf.net/projects/phpdatetimewww.sf.net/projects/phptimesheet
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Which PHP for MySQL 4.1

2004-11-12 Thread Sebastian Mendel
C.F. Scheidecker Antunes wrote:
Hello,
I would like to migrate my MySQL servers from 4.0 to 4.1.
As I use PHP as well as Java with these servers I wonder what PHP 4 
version would be compatible with MySQL 4.1.

Has anyone used MySQL 4.1 with PHP yet?
I appreciate your thoughts.
Thanks.
i run 4.1.x for a while, without problems,
after upgrading you have to rebuild you php to use the new mysql_librarys
and you have to run mysql_fix_privilege_tables on the linux/unix shell
4.1. uses a new display-format for timestamps!
4.1. uses a new encryption method for password(), with this function are 
all mysql_passwords stored in the db, thats why you have to run 
mysql_fix_privilege_tables

read carefully through all 4.1. changelogs!
--
Sebastian Mendel
www.sebastianmendel.de www.warzonez.de www.tekkno4u.de www.nofetish.com
www.sf.net/projects/phpdatetimewww.sf.net/projects/phptimesheet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php