473,837 Members | 1,922 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 13296
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
2537
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
18269
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 "mysql_connect()"?
3
25178
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 that in my C:\PHP\ext there exists
2
11755
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
1483
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) PHP 5.1.6 running
0
3476
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 the system is not functioning in unknown on line 0. (2) No such file or directory exists:exec()...
9
4597
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 (it was done manually) and I can run phpinfo() to get information about the installation. However,...
0
10570
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10626
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10273
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9402
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7806
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5849
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4474
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
2
4041
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3124
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.