473,549 Members | 2,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to load dynamic library './php_mysql.dll'

Hi,

When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.

Then my Apache servre starts, load php module and works well.
I copied php_msql.dll to my system32 directory. Who knows what's
wrong? Thanks a lot?

Nancy
Jul 17 '05 #1
19 13270
Nancy wrote:
When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.


Are you talking about msql or mysql? Here you say msql, the subject says
mysql.

Regards,
Matthias
Jul 17 '05 #2
Nancy wrote:
Hi,

When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.

Then my Apache servre starts, load php module and works well.
I copied php_msql.dll to my system32 directory. Who knows what's
wrong? Thanks a lot?

Nancy


You may need to set your "extensions_dir " in your php.ini
PHP searches for the file before including it, so adding it to your
system32 folder wouldn't make a difference, because PHP only searches
the extensions_dir. Normally in php.ini it is the same folder as PHP.exe
Jul 17 '05 #3
"Nancy" <wx*****@hotmai l.com> wrote in message
news:cf******** *************** ***@posting.goo gle.com...
Hi,

When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.

Then my Apache servre starts, load php module and works well.
I copied php_msql.dll to my system32 directory. Who knows what's
wrong? Thanks a lot?

Nancy


Got IIS running on your computer, perhaps?
Jul 17 '05 #4
If you are using windows try copying "libmysql.d ll" to windows/system32/
folder! this helped me :) This is documented in the install manual but is a
must!!!
"Chung Leong" <ch***********@ hotmail.com> wrote in message
news:6N******** ************@co mcast.com...
"Nancy" <wx*****@hotmai l.com> wrote in message
news:cf******** *************** ***@posting.goo gle.com...
Hi,

When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.

Then my Apache servre starts, load php module and works well.
I copied php_msql.dll to my system32 directory. Who knows what's
wrong? Thanks a lot?

Nancy


Got IIS running on your computer, perhaps?

Jul 17 '05 #5
Hi,
I am sorry, it doesn't work. The unable to load file is
php_msql.dll, not php_mysql.dll or php_mssql.dll. I am not sure this
file means MySql or MS SQL.
Thanks.

Nancy
"D_Angle" <ga***@mindless .com> wrote in message news:<F_******* *************@n ews.telia.no>.. .
If you are using windows try copying "libmysql.d ll" to windows/system32/
folder! this helped me :) This is documented in the install manual but is a
must!!!
"Chung Leong" <ch***********@ hotmail.com> wrote in message
news:6N******** ************@co mcast.com...
"Nancy" <wx*****@hotmai l.com> wrote in message
news:cf******** *************** ***@posting.goo gle.com...
Hi,

When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.

Then my Apache servre starts, load php module and works well.
I copied php_msql.dll to my system32 directory. Who knows what's
wrong? Thanks a lot?

Nancy


Got IIS running on your computer, perhaps?

Jul 17 '05 #6
Hi,
I have my IIS runing on my PC at same time. IIS uses 80 port and
Apache uses 8080 port. ...?
Thanks.

Nancy

"Chung Leong" <ch***********@ hotmail.com> wrote in message news:<6N******* *************@c omcast.com>...
"Nancy" <wx*****@hotmai l.com> wrote in message
news:cf******** *************** ***@posting.goo gle.com...
Hi,

When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.

Then my Apache servre starts, load php module and works well.
I copied php_msql.dll to my system32 directory. Who knows what's
wrong? Thanks a lot?

Nancy


Got IIS running on your computer, perhaps?

Jul 17 '05 #7
Hi,
It should be php_msql.dll

Nancy

Matthias Esken <mu************ ******@usenetve rwaltung.org> wrote in message news:<cd******* ***@usenet.eske n.de>...
Nancy wrote:
When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.


Are you talking about msql or mysql? Here you say msql, the subject says
mysql.

Regards,
Matthias

Jul 17 '05 #8
Hi,
I don't know how to change this part, but I tried many ways, let
extensions_dir = "./system32" ; my php_msql.dll in this directory
extensions_dir = "c:/system32"
extensions_dir = "c:/php"
...

The strange thing is after showing two times this error message, my
Apache server starts and load php module, python module, mod_python,
works very well.
So what's the problem?
Thanks a lot.

Nancy

neur0maniak <us****@neur0ma niak.co.uk> wrote in message news:<40******* *************** *@ptn-nntp-reader01.plus.n et>...
Nancy wrote:
Hi,

When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.

Then my Apache servre starts, load php module and works well.
I copied php_msql.dll to my system32 directory. Who knows what's
wrong? Thanks a lot?

Nancy


You may need to set your "extensions_dir " in your php.ini
PHP searches for the file before including it, so adding it to your
system32 folder wouldn't make a difference, because PHP only searches
the extensions_dir. Normally in php.ini it is the same folder as PHP.exe

Jul 17 '05 #9
On 24 Jul 2004 07:18:06 -0700, wx*****@hotmail .com (Nancy) wrote:
I don't know how to change this part, but I tried many ways, let
extensions_dir = "./system32" ; my php_msql.dll in this directory
Does that exist? '.' is 'current directory' so depends on context at
runtime...
extensions_dir = "c:/system32"
Does that exist?
extensions_dir = "c:/php"


Is the file actually in any of those directories?

Typically it's c:/php/extensions.

--
Andy Hassall <an**@andyh.co. uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Jul 17 '05 #10

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

Similar topics

2
2528
by: R | last post by:
Hi. I have just reintalled my computer and with that; PHP. But.. I keep getting the error: PHP Startup: Unable to load dynamic library 'C:\PHP\modules\php_mysql.dll' - The specified module could not be found. I have installed PH 5.0.2 on a XP-SP2-box with IIS. PHP works fine (if I uncomment the php_mysql.dll-line in
7
18247
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 module when starting my Apache 2.0 in windows XP. The file, php_mysql.dll is there. why? Do I have to load this file before I can use...
3
25160
by: Nikola Skoric | last post by:
Hi there, When I try to connect to mysql, I get: Fatal error: Call to undefined function mysql_connect() in D:\www\kviz \scripts\data_connect.php on line 3 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext \php_mysql.dll' - The specified module could not be found. in Unknown on line 0 BUT, the interesting thing is...
2
11741
by: MS | last post by:
Why do I keep getting this error mesgage on my phpinfo() page trying to get PHP and MySQL to communicate? I am running this in IIS. Here's what I have - My php.ini resides in my C:\WINNT directory. In it, I have removed the ';' from the extension=php_mysql.dll. Also in the php.ini file I set extension_dir = c:\PHP\Ext
0
1468
by: redally | last post by:
Hi, Can anyone help me out? I run Windows ME and WinMySQLadmin 1.4 and it sees the database OK but. PHP Warning: PHP Startup: Unable to load dynamic library 'D:\php\ext\php_mysql.dll' a device attached to the system is not functioning in unknown on line 0. (2) No such file or directory exists:exec() may not be safe Apache 1.3.31(Win32)...
0
3461
by: redally | last post by:
Hi, Can anyone help me out? I run Windows ME and I put D:\php into my autoexec.bat, yet I still have to put php.ini into C:\windows to get it read. Then it gives me the message below. I run WinMySQLadmin 1.4 and it sees the database OK. PHP Warning: PHP Startup: Unable to load dynamic library 'D:\php\ext\php_mysql.dll' a device attached to...
9
4581
by: Christopher Koeber | last post by:
Hello, I am attempting to perform a PHP installation on an Apache 2.2.6 web server instance that is loaded on a Windows 2003 server operating system (R2 SP2). I have a third party application that will reside within the Apache instance that requires PHP 5.2.6 loaded with MySql support. The installation of PHP succedded without incident...
0
7518
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7469
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7808
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5087
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1935
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1057
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.