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

Unable to load dynamic library 'C:/php/ext/php_mysql.dll'

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()"?

Brendan

Sep 13 '05 #1
7 18224
for this i think you have to edit php.ini and uncomment the
php_mysql.dll

Ninad
cc****@gmail.com wrote:
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()"?

Brendan


Sep 13 '05 #2
I did it like that:

....
extension_dir = "c:/php/ext/"
....
;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
....

That didn't work......So why?

Brendan

Sep 13 '05 #3
cc****@gmail.com wrote:
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."


Copy the file libmysql.dll to \windows\system32.

--
E. Dronkert
Sep 13 '05 #4
Thks it works. But I have set the path C;\php. and why this is not
enough?

Brendan

Sep 13 '05 #5
cc****@gmail.com wrote:
Thks it works. But I have set the path C;\php. and why this is not
enough?


I know. It's baffling a lot of people, see google with the right search
words. I think it was a new requirement for php5, undocumented.

--
E. Dronkert
Sep 13 '05 #6
In article <11*********************@g43g2000cwa.googlegroups. com>,
cc****@gmail.com says...

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()"?

Brendan


Depending on your PHP installation file(s), you may need to specify the option
for MySQL support at installation. I hadn't done it in a Windows environment
before, but in a *nix environment I've had to install MySQL first and get that
running, then install PHP with the MySQL option enabled. Depending what package
you're installing from, you may need to check it's documentation to see how to
do that.

GClef
--
Newsguy.Com - Basic Account - $39.95 / year
Spam free newsgroups, 2 mailboxes, 30 MB web space
http://newsguy.com/overview.htm

Sep 13 '05 #7
On 12 Sep 2005 22:31:08 -0700, cc****@gmail.com wrote:
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.


Read:

http://www.php.net/manual/en/install...extensions.php
http://www.php.net/manual/en/ref.mysql.php
http://www.php.net/manual/en/faq.ins...tion.addtopath

Do not copy anything to the Windows system directories.

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Sep 13 '05 #8

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

Similar topics

1
by: Stefan | last post by:
Hi, I just downloaded PHP-4.3.3 for win32 and got the extensions folder and dropped it intot he root of the PHP directory and set it's path in the PHP.ini: extension_dir =...
3
by: Willis Lang | last post by:
Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' - Access is denied. Error keeps coming up on server. I made sure the security settings were set on the file and all...
19
by: Nancy | last post by:
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...
0
by: Karim | last post by:
I am getting the error "unable to load dynamic libray php_mcrypt.dll...". I understand that php_mcrypt.dll depends on the existence of libmcrypt.dll library. I am using Windows 2003 and I have...
0
by: Howard | last post by:
I installed pear or was trying to. I ran the pear_env.reg script to load pear in registry in order to have it in my path. But typing pear at the command line does not work. Pear is not...
3
by: Harmony504 | last post by:
HELP! Setup: PHP5.2.5, IIS 5.1, XP, AS/400 (DB/400 or DB2) I am trying to connect to a DB2 database from my computer. I installed DB2 Connect and set up the ODBC Driver in the Data Source...
9
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.