PHPMYADMIN error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maliksleo
    New Member
    • Feb 2009
    • 115

    PHPMYADMIN error

    i have wamp 2.0 server installed. When i clicked on phpmyadmin i have the following error can any body fix it.

    "Cannot load mysqli extension. Please check your PHP configuration. - Documentation"
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    This means that your PHP installation is missing the mysqli extension.

    Having never used WAMP myself, I can not say if it has some sort of GUI to handle this sort of thing for you, but you may want to look into that.

    You can also simply configure this yourself.
    1. Go into your PHP installation directory. Make sure the "php_mysqli.dll " file exists in the "ext" sub-directory.
      If it does not, go to the PHP download page, download the ZIP package and move the .dll file over to your PHP install path.
    2. Add the PHP installation dir to the path variable:
      - Right-click My Computer, select properties.
      - Select the "Advanced" tab.
      - Click "Environmen tal Variables"
      - Select the PATH entry from the list. If it doesn't exists, create it.
      - Add the path to your PHP installation to the pre-existing text.

      It should looks something like:
      [whatever was here to begin with];C:\\php\;

      Note! Do NOT delete what is there already, or you may cause all sorts of problems.
    3. Open the "php.ini" configuration file you are using. If you are not sure where that is located, create a .php file that calls the phpinfo function and locate the location in the first section of the output from that.
    4. Set the "extension_ dir" directive in the "php.ini" file to an absolute path. Meaning, something like "C:\\php\ex t\", obviously altering this path to the actual location on your hard-drive.
      Note that having already set the PATH variable, this is not strictly necessary, but it can't hurt.
    5. Add or un-comment the line "extension=php_ mysqli.dll" in the "php.ini" file.
    6. Reboot the computer.

    Once that is done, the MySQLI extension should load properly.

    Comment

    • maliksleo
      New Member
      • Feb 2009
      • 115

      #3
      thanks for your help Atli
      i got apache2tried which is running qute well

      now i dont need WAMP server any more

      once again thanks

      Comment

      Working...