473,394 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Need clarification of installing php_mysql.dll php_mysqli.dll simultaneously

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.

Aug 27 '07 #1
2 5918
On Mon, 27 Aug 2007 19:23:57 -0000, Reporter <Tr*********@gmail.comwrote:
>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 :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Aug 27 '07 #2
On Aug 27, 1:38 pm, Andy Hassall <a...@andyh.co.ukwrote:
On Mon, 27 Aug 2007 19:23:57 -0000, Reporter <TruckSaf...@gmail.comwrote:
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 :: a...@andyh.co.uk ::http://www.andyh.co.ukhttp://www.and....co.uk/space:: disk and FTP usage analysis tool
Thanks

Aug 27 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Harry | last post by:
Since yesterday, when I try and start apache, I get the following message: Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_mysql.dll' - the specified...
2
by: Bill McFarland | last post by:
Hi folks. I'm installing PHP 5 with Apache 2 as a module (also with MySQL embedded in php as an extension along with gd and tiny) on a Win2003 server. When I start Apache2 as a service without...
1
by: Alex Popescu | last post by:
I have apache2, mysql 4.0.21 and php 5.0.2.on xp pro. All works fine up to the point where I enable the php_mysql.dll module in php.ini. I followed the instructions and copied libmysql.dll to...
2
by: y_oda2002 | last post by:
Hi everyone I was wondering if anyone could help me. I am trying to install ph so that i can learn the code. So far i havent had any problem installing apache. However when i try to get mysql...
2
by: Dale | last post by:
I'm trying to install php 5.0.4 with Apache2 in directory c:\php-5.0.4-Win32 I set extension_dir = "C:\php-5.0.4-Win32\ext" in php.ini I uncomment extension=php_mysql.dll Restart Apache...
5
by: bissatch | last post by:
Hi, I am trying to install Apache and PHP. I have installed apache fine where I can type in http://localhost and it displays the default Apache page. When trying to install PHP I have run the...
6
by: Matt Ion | last post by:
WinXP Pro, Apache 1.3.27, trying to add PHP 5.0.4 with MySQL support to the mix. Everything works fine until I add 'extension=libmysql.dll' to php.ini, and then starting Apache gives me the same...
7
by: ccp999 | last post by:
I keep getting this: "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified module could not be found." when I tried to load the php_mysql.dll...
3
by: Ben Hallert | last post by:
Hi there! I've set up PHP 5.0.5.5 on an Windows 2003 system running IIS (yes yes, have I considered Apache? Unable, other factors at play). I wrote a simple test PHP that does nothing but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.