Results 1 to 6 of 6

Thread: [RESOLVED] Cannot load mysql extension. Please check your PHP configuration.

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Resolved [RESOLVED] Cannot load mysql extension. Please check your PHP configuration.

    Right.

    So. I got php_mysql.dll from the mysql.com website and put it where extensions_dir says it should be, which is C:\PHP\extensions

    Good.

    Then, I looked in php.ini and uncommented

    extension=php_mysql.dll

    Good.

    Didn't work. So I did what several other hapless individuals across the internet faced with this problem did. I copied php_mysql.dll and libmysql.dll over to C:\windows, c:\windows\system32 and c:\php.

    Obviously, no go. So what am I missing now?

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Cannot load mysql extension. Please check your PHP configuration.

    Get your arse onto MSN.

    It is probably the libmysql.dll. First you need to check the version numbers of the dll's and check they match. PHP_mysql may be a different version if you are using PHP 4 (which you shouldn't be).

    See second user comment: http://theserverpages.com/php/manual....databases.php

    Need I also say - check all the files in question actually exist
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Cannot load mysql extension. Please check your PHP configuration.

    So you're saying that my versions of PHP and MySQL are dependent on each other?

    Very well, I will get the latest version of PHP. I am currently on 5.1.4, I just hope this doesn't break my existing code.

    Post later. Merry Christmas, ho ho ho!

  4. #4

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Cannot load mysql extension. Please check your PHP configuration.

    I love this. I upgraded to the latest version of PHP and phpmyadmin started working. But it broke my website's own PHP code. Might as well start fixing it now.

    I love open source.

    Thank you padam.

  5. #5
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Cannot load mysql extension. Please check your PHP configuration.

    Quote Originally Posted by mendhak
    So you're saying that my versions of PHP and MySQL are dependent on each other?

    Very well, I will get the latest version of PHP. I am currently on 5.1.4, I just hope this doesn't break my existing code.

    Post later. Merry Christmas, ho ho ho!
    No, the versions of the dll,s. I.e: php_mysql for mysql 4 doesn't work with libmysql.dll for version 5.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Cannot load mysql extension. Please check your PHP configuration.

    Quote Originally Posted by mendhak
    So you're saying that my versions of PHP and MySQL are dependent on each other?

    Very well, I will get the latest version of PHP. I am currently on 5.1.4, I just hope this doesn't break my existing code.

    Post later. Merry Christmas, ho ho ho!
    5.1 one was a buggy beast.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

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



Click Here to Expand Forum to Full Width