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

Ask a Question related to PHP Development, Design and Development.

  1. #1

    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
    Doug Guest

  2. Similar Questions and Discussions

    1. HELP Please, Unable to load dynamic library
      Hello all, I want to load an extension (php_domxml and php_xslt) on a window XP Home machine with Apache 2.0 and PHP 4.3. I did this before...
    2. #3548 [Com]: Unable to load dynamic library
      ID: 3548 Comment by: iandbigejunk at yahoo dot com Reported By: Gonzalo-Andres dot Martinez at unilever dot com Status: ...
    3. #24621 [Bgs]: Unable to load php_mysql.dll - The specified procedure could not be found
      ID: 24621 User updated by: eric at cosky dot com Reported By: eric at cosky dot com Status: Bogus Bug Type: ...
    4. #24621 [Opn->Bgs]: Unable to load php_mysql.dll - The specified procedure could not be found
      ID: 24621 Updated by: philip@php.net Reported By: eric at cosky dot com -Status: Open +Status: Bogus...
    5. #24621 [NEW]: Unable to load php_mysql.dll - The specified procedure could not be found
      From: eric at cosky dot com Operating system: Windows XP SP 1 PHP version: 5CVS-2003-07-12 (dev) PHP Bug Type: MySQL related...
  3. #2

    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
    Andy Hassall Guest

  4. #3

    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
    Doug Guest

  5. #4

    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 [url]http://www.codecomments.com[/url]
    ------------------------------------------------------------------------

    arshapro Guest

  6. #5

    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 [url]http://www.codecomments.com[/url]
    ------------------------------------------------------------------------

    Fabruccio Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139