CMS sites and their Configuration Files

Below given are the location of configuration files for some commonly used Content Management System(CMS) sites:

1) WordPress configuration file location :
httpdocs/wp-config.php

/** MySQL database password */   
define('DB_PASSWORD', '** new password here **');

Joomla configuration file location :
httpdocs/configuration.php

var $password = '** new password here **';

Drupal configuration file location :
httpdocs/sites/default/settings.php

$databases = array (  
'default' =>   
array (   
'default' => [  
array (   
'database' => 'database-name',   
'username' => 'database-username',  
'password' => '**new password here***',   
'host' => 'localhost',     
'port' => '',   
'driver' => 'mysql',  
'prefix' => '',

OSCommerce 2.2 Configuration file location :
httpdocs/includes/configure.php
httpdocs/admin/includes/configure.php

define('DB_SERVER_PASSWORD', '** new password **');

The password needs to be changed in both files.

Moodle 2 configuration file location :
httpdocs/config.php

$CFG->dbpass = '** new password here **';

Magento configuration file location :
httpdocs/app/etc/local.xml

<password><![CDATA[** new password here ** ]]></password>

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s