For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > February 2006 > Re: [PHP-DB] --with-mysqli and --with-mysql









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] --with-mysqli and --with-mysql
JupiterHost.Net

2006-02-13, 6:56 pm



JupiterHost.Net wrote:

> Howdy list,
>
> http://us2.php.net/manual/en/ref.mysqli.php under "Installation" is says:
> "If you would like to install the mysql extension along with the mysqli
> extension you have to use the same client library to avoid any conflicts."
>
> So, assuming PHP5 and MySQL > 4.1.3:
>
> These are the two ways to do both --with-mysql and --with-mysqli correct:
>
> a) --with-mysql --with-mysqli=/path/to/mysql_config
> b) --with-mysql=/usr --with-mysqli=/usr
>
> If not, whats the proper way to do --with-mysqli with:
>
> a) -with-mysql
> b) --with-mysql=DIR


As per:

"Compiling PHP5 with mysql and mysqli Database Drivers" at
http://www.johnberns.com/ seems to indicate that
--with--mysqli=/path/to/mysql_config applies to both "a" and "b"

Is that indeed the case? That is what is necessary and will make sure
that it will "use the same client library to avoid any conflicts" ?

Is "[7 Sep 2004 7:52am CEST] georg@php.net" at
http://bugs.php.net/bug.php?id=29860 true?

Also when does the broken Makefile in regard to this expected to be fixed?
JupiterHost.Net

2006-02-14, 6:56 pm

So PHP5 can't so mysql and mysqli together?

Perhaps this project would be better suited by Perl or Python since
apparently PHP5's mysql support is too ambiguous.

JupiterHost.Net wrote:
>
>
> JupiterHost.Net wrote:
>
>
>
> As per:
>
> "Compiling PHP5 with mysql and mysqli Database Drivers" at
> http://www.johnberns.com/ seems to indicate that
> --with--mysqli=/path/to/mysql_config applies to both "a" and "b"
>
> Is that indeed the case? That is what is necessary and will make sure
> that it will "use the same client library to avoid any conflicts" ?
>
> Is "[7 Sep 2004 7:52am CEST] georg@php.net" at
> http://bugs.php.net/bug.php?id=29860 true?
>
> Also when does the broken Makefile in regard to this expected to be fixed?
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com