Installing CiviCRM on Drupal

To install CiviCRM as a module in Drupal 7, follow these steps:

You need to know your Drupal site’s database settings during the setup process. To determine your Drupal database settings, open the sites/default/settings.php file in the Drupal installation directory on your account, and note the following values in the $databases array:

database

username

password

Use cPanel to create a MySQL database and a database user for CiviCRM. You will need this information during the setup process.

For information about how to create a MySQL database and user, please see this article.

Installing CiviCRM on Joomla

Click the CiviCRM version you want to download, and then download the civicrm-x.x.x-joomla.zip file, where x.x.x represents the version number.

At the time this article was written, 4.4.2 was the most recent stable version.

Upload the .zip file to the Joomla tmp directory.

If you are running Joomla in the document root directory, the full path is /home/USERNAME/public_html/tmp, where USERNAME represents your account username. If you are not running Joomla in the document root directory, upload the .zip file to the tmp directory where you installed Joomla.

Extract the contents of the .zip file. To do this, you can use the cPanel File Manager, or you can type the following command at the command prompt from the tmp directory (where x.x.x represents the version number):

unzip civicrm-x.x.x-joomla.zip

After you extract the .zip file, there should be a com_civicrm directory in the tmp directory.

Log in to your Joomla site as the administrator.

On the top menu bar of the Control Panel, click Extensions, and then click Extension Manager.

Click the Install from Directory tab.

In the Install Directory text box, add com_civicrm to the end of the path.

The Install Directory text box should already contain the path to the tmp directory where you uploaded the .zip file. The complete path should be /home/USERNAME/public_html/tmp/com_civicrm, where USERNAME represents your account username.

Click Install. Joomla installs the extension.

When installation is complete, you receive the following message:

CiviCRM component files and database tables have been INSTALLED successfully.

To configure the CiviCRM installation, on the top menu bar click Components, and then click CiviCRM.

Installing CiviCRM on WordPress

To install CiviCRM as a WordPress plugin, follow these steps:

Use cPanel to create a MySQL database and a database user for CiviCRM. You will need this information during the setup process.

For information about how to create a MySQL database and user, please see this article.

Click the CiviCRM version you want to download, and then download the civicrm-x.x.x-wordpress.zip file, where x.x.x represents the version number.

At the time this article was written, 4.4.2 was the most recent stable version.

Upload the .zip file to the wp-content/plugins directory.

If you are running WordPress in the document root directory, the full path is /home/USERNAME/public_html/wp-content/plugins, where USERNAME represents your account username. If you are not running WordPress in the document root directory, upload the .zip file to the wp-content/plugins directory where you installed WordPress.

Extract the contents of the .zip file. To do this, you can use the cPanel File Manager, or you can type the following command at the command prompt from the wp-content/plugins directory (where x.x.x represents the version number):

unzip civicrm-x.x.x-wordpress.zip

After you extract the .zip file, there should be a civicrm directory in the wp-content/plugins directory.

Create a directory named files in the wp-content/plugins directory. You can use the cPanel File Manager to create the directory, or you can type the following command at the command prompt from the wp-content/plugins directory:

mkdir files

CiviCRM uses the files directory during the installation process.

Log in to your WordPress site as the administrator.

In the left-side pane, click Plugins, and then click Installed Plugins.

Under CiviCRM, click Activate.

In the left-side pane, click Settings, and then click CiviCRM Installer. The CiviCRM Installer page appears.

Under CiviCRM Database Settings, fill in the MySQL username, MySQL password, and MySQL database text boxes with the values for the CiviCRM database that you created in step 1.

Under Other Settings, select the Load sample data check box if you want to install sample data.

Click Re-check requirements. When all of the database settings are correct, you receive a Database version and connection settings have been verified and look correct! message.

Click Check Requirements and Install CiviCRM.

The installation process takes a few minutes.

When installation is complete, the CiviCRM has been successfully installed message appears.

To configure the CiviCRM installation, in the left-side pane click Dashboard, and then click CiviCRM.