Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder noneforit's Avatar
    Join Date
    Apr 2009
    Location
    England
    Posts
    268
    Thanks
    10
    Thanked 20 Times in 20 Posts

    Error with phpMyAdmin

    Hello

    I am trying to get phpmyadmin working on windows 7 with IIS

    I have unzipped PHP5 to C:\PHP and uncommented the following lines in the php.ini file:

    extension=php_mysqli.dll
    extension=php_mbstring

    I have also added the location of the extension files to the php.ini file

    I get the following error when going to localhost\phpmyadmin:

    PHP Code:
    Cannot load mysql extensionPlease check your PHP configuration. - Documentation 
    I have also copied the php.ini file to the Windows directory and PHP works as a phpinfo page loads correctly under localhost

    Any ideas?

  • #2
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,342
    Thanks
    13
    Thanked 349 Times in 345 Posts
    phpMyAdmin uses mysql by default. you have to change its config to use mysqli.
    Last edited by Dormilich; 01-27-2010 at 12:55 PM.

  • #3
    Regular Coder noneforit's Avatar
    Join Date
    Apr 2009
    Location
    England
    Posts
    268
    Thanks
    10
    Thanked 20 Times in 20 Posts
    Seemed to have fixed it, gave the built in IIS windows account full control over the inetpub folder and subfolder and it worked ok

    Cheers

  • #4
    New Coder
    Join Date
    Jan 2010
    Location
    The Netherlands
    Posts
    53
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Do you have MySQL installed?

    Edit: nevermind


  •  

    Posting Permissions

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