You are here: Re: Need clarification of installing php_mysql.dll php_mysqli.dll simultaneously « PHP Programming Language « IT news, forums, messages
Re: Need clarification of installing php_mysql.dll php_mysqli.dll simultaneously

Posted by Andy Hassall on 08/27/07 19:38

On Mon, 27 Aug 2007 19:23:57 -0000, Reporter <TruckSafety@gmail.com> wrote:

>According to the PHP Manual,
>
>"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."
>
>I find this confusing because I have two dll libraries installed on my
>Windows XAMP system:
>
>(1) php_mysql.dll
>(2) php_mysqli.dll
>
>I seem to be able to use functions from both of these libraries, so I
>am confused as to what the PHP manual is saying.

They're the _extension DLLs_. The _client DLL_ is libmysql.dll, which will be
loaded by both.

On Windows it's basically a non-issue, since both will load the same
libmysql.dll (it would take some runtime fiddling with PATH or explict paths
compiled in to get one extension to load a different libmysql to the other).

On UNIX it may well be possible to statically link one extension against a
different MySQL client to the other, or even have both dynamically load
different ones - you'd still have to deliberately mess it up, but it's more
possible, hence the warning.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация