9

enter image description here

I am getting an error as show by the image above when attempting to install CiviCRM on drupal.

What does this error message mean and how could I go about fixing it?

The entire configuration report is as follows:

enter image description here

9

Recommend setting MAMP to use PHP5.6 if you have that option.

The screenshots show MAMP is set to use PHP7, but CiviCRM isn't ready for PHP7 yet.

(PHP7 removes ext/mysql in favour of ext/mysqli and ext/pdo_mysql. CiviCRM looks for ext/mysql, and the installer test is bailing out when it detects that this isn't supported.)

CiviCRM's PHP requirements are documented in the CiviCRM wiki.

1

its worth noting that now with the release of 4.7.12 and the work completed on CRM-17789 That you now have 2 options,

  1. Download the later code base that does support php7
  2. Downgrade PHP to 5.6 as suggested by Chris
0

Try changing the DSN in civicrm.settings.php from mysql to mysqli in the following line: define( 'CIVICRM_UF_DSN', 'mysqli://cms_db_username:cms_db_password@db_server/cms_database?new_link=true');

  • 1
    Suggest doing this only if you intend helping work on CRM-17789. If you intend to use CiviCRM, use a supported PHP version. – Chris Burgess Feb 2 '16 at 23:08
0

For anyone else having this problem, XAMPP 5.5.33 is shipping with the mysql_connect extension disabled by default. You need to go to php.ini file and uncomment the line

;;extension=php_mysql.dll

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.