unable to load dynamic library C:\php\ext\php_mysql.dll - procedurenot found

This is a discussion on unable to load dynamic library C:\php\ext\php_mysql.dll - procedurenot found within the alt.comp.lang.php forums, part of the PHP Programming Forums category; If you get the above error when trying to install/run PHP5 using Apache and Windows XP, I just thought ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-08-2004
Doug
 
Posts: n/a
Default unable to load dynamic library C:\php\ext\php_mysql.dll - procedurenot found



If you get the above error when trying to install/run PHP5 using Apache
and Windows XP, I just thought i would let you know my experience. It
took me many hours to figure this out, but it was not a problem with the
php_mysql.dll file at all.

It turns out I had an incompatible libmysql.dll file in my
C:\windows\system32 folder. So, to make it work, i had to copy the
libmysql.dll file given in the PHP distribution into C:\windows\system32.

Well, just wanted to let you know my experience, hopefully this can help
some one.

-d
Reply With Quote
  #2 (permalink)  
Old 09-09-2004
Andy Hassall
 
Posts: n/a
Default Re: unable to load dynamic library C:\php\ext\php_mysql.dll - procedure not found

On Wed, 08 Sep 2004 06:32:12 GMT, Doug <dougd99@XXXXremovetheXearthlink.net>
wrote:

>If you get the above error when trying to install/run PHP5 using Apache
>and Windows XP, I just thought i would let you know my experience. It
>took me many hours to figure this out, but it was not a problem with the
>php_mysql.dll file at all.
>
>It turns out I had an incompatible libmysql.dll file in my
>C:\windows\system32 folder. So, to make it work, i had to copy the
>libmysql.dll file given in the PHP distribution into C:\windows\system32.
>
>Well, just wanted to let you know my experience, hopefully this can help
>some one.


Better would be to remove the DLL from the Windows system directory, and
instead set PATH to include the path to the DLL.

Dumping DLLs into the Windows system directory tends to lead to this sort of
problem - better to keep the DLLs in user directories rather than dumping them
into the operating system directories.

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Reply With Quote
  #3 (permalink)  
Old 09-10-2004
Doug
 
Posts: n/a
Default Re: unable to load dynamic library C:\php\ext\php_mysql.dll - procedurenot found



Andy Hassall wrote:

>
> Better would be to remove the DLL from the Windows system directory, and
> instead set PATH to include the path to the DLL.
>
> Dumping DLLs into the Windows system directory tends to lead to this sort of
> problem - better to keep the DLLs in user directories rather than dumping them
> into the operating system directories.
>



I changed my path. Unfortunately, it kept picking up the libmysql.dll
from C:\mysql\bin, even though C:\php is first in my path.

-d
Reply With Quote
  #4 (permalink)  
Old 09-30-2004
arshapro
 
Posts: n/a
Default Re: unable to load dynamic library C:\php\ext\php_mysql.dll - procedure


yes i had the same problem and the same solution solved it. thank you.
apache 2.0/php 5/mysql 4.0.21-nt/windows xp sp2

-alex



--
arshapro
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Reply With Quote
  #5 (permalink)  
Old 10-12-2004
Fabruccio
 
Posts: n/a
Default Re: unable to load dynamic library C:\php\ext\php_mysql.dll - procedure


Whatismore mySQL won't run if you don't copy this file 'libmysql.dll'
bundled with PHP5 into your system32 directory. I understood this
because I had *no* 'libmysql.dll' on this path.
--
Fabrice G. Boyer



--
Fabruccio
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0