Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 10 of 10
  1. #1
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    When I try to load PHPMyAdmin I get this message:

    cannot load mysql extension;
    please check PHP configuration
    How do I fix this?
    tekp :cheeky: tekponline.com

  2.  

  3. #2
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Location
    Bandung, Indonesia
    Posts
    1,207
    Member #
    14572
    Looks simply that either you haven't installed mySQL yet, or it's not active. Are you sure you've installed it, configured PHP for it, and activated it?
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.

  4. #3
    Senior Member rosland's Avatar
    Join Date
    Jul 2003
    Location
    Norway
    Posts
    1,944
    Member #
    2096
    Hi tekp.

    Have you googled your error message?
    There seems to be a kazillion people who have experienced the same as you.

    I planned to give you some pointers to error prone config areas, but they are all covered in the google list.

    Basically, make sure your apache config looks in the right direction, and errorcheck php.ini pointers in your php setup.

    Best of luck!
    S. Rosland

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Almost certainly php.ini has the MySQL extension commented out.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  6. #5
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Location
    Bandung, Indonesia
    Posts
    1,207
    Member #
    14572
    PHP 5, I presume... yes, PHP 5 doesn't come with default support for mySQL. Either do changes in php.ini, or use the ini_set() function (or some function like that).

    Check the manual!
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.

  7. #6
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Ugh..

    extension=php_mysql.dll is now commented out.

    libmysql.dll and php_msql.dll have been manually placed in c:\windows\system and c:\windows\system32, this is what other people advised on the posts Rosland pointed me towards.

    Quote Originally Posted by Rosland
    Basically, make sure your apache config looks in the right direction, and errorcheck php.ini pointers in your php setup.
    What do you mean...? I don't understand...

    I've definately installed it and followed all the steps that I know to set it up with PHP. I followed this tutorial: http://www.expertsrt.com/tutorials/M...ll-apache.html.

    Any more help?
    tekp :cheeky: tekponline.com

  8. #7
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Wait, you want the MySQL extension uncommented.

  9. #8
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Yeah, sorry, by commented out I meant it was uncommented that wasn't very clear hehe, apologies...
    tekp :cheeky: tekponline.com

  10. #9
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Any more ideas...?
    tekp :cheeky: tekponline.com

  11. #10
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    One of the directories in php.ini was set wrong ^_^

    Thanks again!
    tekp :cheeky: tekponline.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:15 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com