+ Post New Thread
Results 1 to 6 of 6
Web Development Thread, Can't get mysql and PHP to play together on IIS in Coding and Web Development; Hello I have the school website (created with the joomla edugeek package) on my laptop which I want to move ...
  1. #1
    dagza's Avatar
    Join Date
    Jul 2005
    Location
    Teesside
    Posts
    139
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Can't get mysql and PHP to play together on IIS

    Hello

    I have the school website (created with the joomla edugeek package) on my laptop which I want to move to the school's webserver. Yesterday was the first time I played with IIS so I have no idea what I am doing!

    I managed to get php installed and can view a php info page on the server over the web. I managed to get mysql installed and confirmed this by installing the system tray app from the community site.

    When I try to get phpmyadmin installed I get an error message telling me:

    Cannot load mysql extension. Please check your PHP configuration.

    The only fix I can find is to ensure that the extention=php_mysql.dll is uncommented in the php.ini file - which it is! Also the extension dir points to the correct place.

    My head hurts.

    Any thoughts?

    Darren
    (PS latest PHP and MySQL installers were used)
    Last edited by dagza; 19th January 2008 at 01:53 PM.

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    I had this, I never fixed it. I changed from IIS to apache2triad. The move was so easy all you have to do is install it and you are ready to go. No configuration or anything.

  4. #4
    dagza's Avatar
    Join Date
    Jul 2005
    Location
    Teesside
    Posts
    139
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Great, thanks for the link.

    Copying the php.ini file to the windows folder seems to have done it.

    Thanks again

  5. #5
    dagza's Avatar
    Join Date
    Jul 2005
    Location
    Teesside
    Posts
    139
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hmmmmmm. Still having problems.

    I got wordpress installed and working but I can't get phpmyadmin to work.

    A site says it needs these extensions to work:

    extension=php_gd2.dll
    extension=php_mbstring.dll
    extension=php_mcrypt.dll
    extension=php_mysql.dll

    I put them in the correct folder and in the php.ini file (the one in windows and the one in the PHP folder) but they are not showing up on my phpinfo file (except mysql).


    UPDATE: Partially fixed thanks to http://www.iis-aid.com/articles/how_...5_simple_steps
    I think it was because the session and log paths were default and, perhaps because they were truncated.

    phpmyadmin is still complaining about mbstring though but everything else seems fine.
    Last edited by dagza; 20th January 2008 at 03:43 PM.

  6. #6


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    did you reload the webserver to pick up thew new configuration

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 177
    Last Post: 7th July 2014, 12:56 PM
  2. Looking to play with Linux...
    By techyphil in forum *nix
    Replies: 33
    Last Post: 30th October 2008, 04:56 PM
  3. Auto Play
    By markesmith in forum Hardware
    Replies: 2
    Last Post: 19th December 2007, 10:00 AM
  4. Replies: 2
    Last Post: 6th September 2007, 11:02 PM
  5. USB server? Anyone had a play?
    By contink in forum Hardware
    Replies: 1
    Last Post: 4th July 2006, 02:36 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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