Excuse me I am new to Civicrm and got stuck, I installed Civicrm-drupal from github, I wanted to check if the configurations are correct so I ran the command "civix civicrm:ping", but I got this exception:

Failed to locate civicrm.settings.php. By default, this tool searches the p
arent directories for a standard CMS (Drupal, WordPress, etal) and standard
civicrm.settings.php. Symlinks and multisite configurations may interfere.
To customize, set variable CIVICRM_SETTINGS to point to the preferred civi

I searched for this exception and found out that I need to change the directory where the civicrm.settings.php is, and usually it is in this path: sites/default/civicrm.settings.php.

Now the problem is that I can not find Civicrm.settings.php anywhere, not in the above path nor anywhere.

Please advise me.


1 Answer 1


Normally you don't install from github you would get it from https://civicrm.org/download and then follow the instructions at https://docs.civicrm.org/sysadmin/en/latest/install/drupal7

If you are looking to do development it might be easiest to start here instead: https://docs.civicrm.org/dev/en/latest/tools/buildkit/

  • Do I download Civicrm from this link civicrm.org/download if I am working on Ubuntu?
    – Hagar
    Commented Oct 5, 2019 at 21:15
  • 1
    Yes. All operating systems.
    – Demerit
    Commented Oct 5, 2019 at 21:17
  • Ok, thanks very much
    – Hagar
    Commented Oct 5, 2019 at 21:19
  • I am sorry, a last question please, is civicrm.settings.php.template the same as civicrm.settings.php ? @Demerit
    – Hagar
    Commented Oct 5, 2019 at 21:27
  • 1
    No. You need to follow the instructions at the link above in the admin guide, which will install civicrm, and it will create civicrm.settings.php. If you need step-by-step help you can go to chat.civicrm.org or consider contacting someone from civicrm.org/partners-contributors
    – Demerit
    Commented Oct 5, 2019 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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