Author Topic: MySQL not available?  (Read 4360 times)

Offline mike_coreit

  • Newbie
  • *
  • Posts: 3
MySQL not available?
« on: January 30, 2016, 09:55:30 AM »
Hi I'm trying to install Roundcube 1.1.4 (and use it with a MySQL database). When I browse to the installer page it tells me this:

MySQL:  NOT AVAILABLE(See http://www.php.net/manual/en/ref.pdo-mysql.php)

I uncommented the line in php.ini for extension=php_pdo_mysql.dll , but still get the same issue.

I'm running Apache 2.4.18, PHP 5.6.17, on a Windows 7 machine. Also I have MySQL 5.7 installed.

Is there any way to resolve that?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: MySQL not available?
« Reply #1 on: January 30, 2016, 05:18:56 PM »
Roundcube uses the PDO database system so along with the mysql pdo driver you'll need the pdo extension.

Offline mike_coreit

  • Newbie
  • *
  • Posts: 3
Re: MySQL not available?
« Reply #2 on: January 31, 2016, 12:14:51 PM »
Hi I am somewhat confused. On the pdo install page it tells me the extension isn't needed in PHP > 5.3
http://www.php.net/manual/en/pdo.installation.php
« Last Edit: January 31, 2016, 12:25:12 PM by mike_coreit »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: MySQL not available?
« Reply #3 on: January 31, 2016, 01:14:25 PM »
I'm not used to windows servers so I wasn't aware of that. Did you restart the web server after you made the change?

Offline mike_coreit

  • Newbie
  • *
  • Posts: 3
Re: MySQL not available?
« Reply #4 on: January 31, 2016, 04:40:10 PM »
Yes a reboot didn't make any difference

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: MySQL not available?
« Reply #5 on: January 31, 2016, 10:20:48 PM »
Hmm, well then my only other guess is that its not installed correctly or is missing a dependency. Maybe check the web server error log to see if its having some sort of problem loading the module.