+ 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
    County Durham
    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 02:53 PM.

  2. IDG Tech News

  3. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,431
    Thank Post
    327
    Thanked 726 Times in 654 Posts
    Rep Power
    201

  4. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    11,841
    Blog Entries
    6
    Thank Post
    592
    Thanked 1,043 Times in 920 Posts
    Rep Power
    224
    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.

  5. #4
    dagza's Avatar
    Join Date
    Jul 2005
    Location
    County Durham
    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

  6. #5
    dagza's Avatar
    Join Date
    Jul 2005
    Location
    County Durham
    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 04:43 PM.

  7. #6


    Join Date
    Jan 2006
    Posts
    6,457
    Thank Post
    324
    Thanked 740 Times in 557 Posts
    Rep Power
    201
    did you reload the webserver to pick up thew new configuration

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 159
    Last Post: 15th September 2011, 04:01 PM
  2. Looking to play with Linux...
    By techyphil in forum *nix
    Replies: 33
    Last Post: 30th October 2008, 05:56 PM
  3. Auto Play
    By markesmith in forum Hardware
    Replies: 2
    Last Post: 19th December 2007, 11: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
  •