473,395 Members | 1,689 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,395 software developers and data experts.

PHP5, MySQL & libmysql.dll

Hi All,
I'm moving some php/mysql development work from one PC to another. I wanted
to use the latest versions of php, MySQL and Apache on the new machine, so
I've downloaded the appropriate stuff and installed it. However, I'm getting
the old familiar error when starting the server:

PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll - The
specified module could not be found

Now I understand that this is because it can't find the libmysql.dll file.
The php version 5.1.1. for windows doesn't contain a libmysql.dll file so I
assumed that I could use the one in the MySQL distribution (version 5.0.18)
but this doesn't work (even when placed in the System32 directory). I'm
using Apache 2.0.55 on Windows XP.
I've done all the usual stuff:
1). Editing the http.conf file.
2). Setting Windows Path variable to C:/php and C:/php/ext
3). Defining the extension_dir in php.ini
4). Uncommenting the LoadModule line for MySQL, etc...

So basically I'm completely stuck. However I was wondering:

1). Why is there not a version of libmysql.dll in php version 5.1.1?.
There's a suggestion that you can get one from the 'zip' download. However,
this is not correct (at least for 5.1.1. version). Where can I get a 5.1.1.
compatible libmysql.dll file?.
2). Is it reasonable for me to use the libmysql.dll file in the MySQL
distribution?.
3). And are Apache 2.0.55, MySQL 5.0.18 & PHP 5.1.1 compatible?. If not then
this might explain why the MySQL libmysql.dll file doens't work.

Please help! - before I lose my sanity!!.

Ta,
Dave
Jan 1 '06 #1
1 4420
On Sun, 1 Jan 2006 23:40:36 -0000, "David Moore"
<da**********@post2me.freeserve.co.uk> wrote:
1). Why is there not a version of libmysql.dll in php version 5.1.1?.
There's a suggestion that you can get one from the 'zip' download. However,
this is not correct (at least for 5.1.1. version). Where can I get a 5.1.1.
compatible libmysql.dll file?.


There IS one in the 5.1.1 .zip distribution.

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Jan 2 '06 #2

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

Similar topics

12
by: Sarah Tanembaum | last post by:
Though I installed MySQL5 and PHP5, how come my phpinfo() shows as follow: MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 3.23.57 <<<<<<<<<<<<<<< ...
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...
2
by: francescomoi | last post by:
Hi. I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: ---------------------------------- # export PATH=$PATH:/usr/local/mysql/bin/ # export mysqlclient=mysqlclient_r # python setup.py...
0
by: muergano terrible | last post by:
Hello, I have been trying to compile MySQL 4.0.15a on a Sparc Solaris 9 machine without any success. I do not know if the reason of my failure is the fact that I want to include SSL support on...
0
by: Mike | last post by:
I thought I'd share this since it popped up today. gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql/\" -DDATADIR=\"/usr/local/mysql//var\" -DSHAREDIR=\"/usr/local/mysql//share/mysql\"...
1
by: res1fowk | last post by:
I am using mysql 5, php 5, and apache 2. I can get php and apache working together. Mysql works by itself. From the manual... I cannot figure out how to activate Mysqli. I have placed the...
1
by: Nospam | last post by:
I am trying to get mysql 4, php5, and apache to work on my winxp sp2 comp, unfortunately even though php5 and apache seems to work ok I am unable to utilise mysql with php and apache, I have yet to...
1
by: Swincher | last post by:
Hey - - -- I upgraded my development machine to PHP5. My pages with the subject function no longer work. I am able to do an ODBC connect to the data files from other programs. I get the...
8
by: Tony B | last post by:
Hi, I'm trying out my local copy of a site that uses php4, mysql,apache2. I've moved it from a php4 machine to a php5 machine, and it doesn't work at all now. A couple of other php4 sites I've...
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
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.