473,225 Members | 1,350 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,225 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 18217
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...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

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.