settings.php 2.14 KB
Newer Older
Dries's avatar
 
Dries committed
1
<?php
2
// $Id$
Dries's avatar
Dries committed
3

Dries's avatar
 
Dries committed
4 5 6 7 8
/**
 * @file
 * Drupal site-specific configuration file.
 */

Dries's avatar
Dries committed
9
#
Dries's avatar
 
Dries committed
10
# Database settings:
Dries's avatar
 
Dries committed
11 12
#
#   Note that the $db_url variable gets parsed using PHP's built-in
Dries's avatar
 
Dries committed
13 14 15
#   URL parser (i.e. using the "parse_url()" function) so make sure
#   not to confuse the parser.  In practice, you should avoid using
#   special characters that are not used in "normal" URLs either.
Dries's avatar
 
Dries committed
16
#   That is, the use of ':', '/', '@', '?', '=' and '#', ''', '"',
Dries's avatar
 
Dries committed
17
#   and so on is likely to confuse the parser; use alpha-numerical
Dries's avatar
 
Dries committed
18
#   characters instead.
Dries's avatar
 
Dries committed
19 20 21 22 23
#
#   To specify multiple connections to be used in your site (i.e. for
#   complex custom modules) you can also specify an associative array
#   of $db_url variables with the 'default' element used until otherwise
#   requested.
Dries's avatar
 
Dries committed
24

Dries's avatar
 
Dries committed
25
# $db_url = "mysql://user:password@hostname/database";
Dries's avatar
 
Dries committed
26
# $db_url = "pgsql://user:password@hostname/database";
27
$db_url = "mysql://drupal:drupal@localhost/drupal";
Dries's avatar
 
Dries committed
28

Dries's avatar
 
Dries committed
29 30 31 32 33 34
#   If $db_prefix is specified all database table names will be
#   prepended with this string.  Be sure to use valid database
#   characters only, usually alphanumeric and underscore.  If no
#   prefixes are desired, set to empty string "".
$db_prefix = "";

Dries's avatar
 
Dries committed
35 36 37
#
# Base URL:
#
Dries's avatar
 
Dries committed
38 39
#   The URL of your website's main page.  It is not allowed to have
#   a trailing slash; Drupal will add it for you.
Dries's avatar
 
Dries committed
40 41 42
#
$base_url = "http://localhost";

Dries's avatar
 
Dries committed
43 44 45
#
# PHP settings:
#
Dries's avatar
 
Dries committed
46
#   To see what PHP settings are known to work well, take a look at
Dries's avatar
 
Dries committed
47
#   the .htaccesss file in Drupal's root directory.  If you get
48
#   unexpected warnings or errors, double-check your PHP settings.
Dries's avatar
 
Dries committed
49 50 51 52

# If required, update PHP's include path to include your PEAR directory:
// ini_set("include_path", ".:/path/to/pear");

53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
#
# Variable overrides:
#
#   To override specific entries in the 'variable' table for this site,
#   set them here.  You usually don't need to use this feature.  This is
#   useful when used in a configuration file for a vhost or directory,
#   rather than the default conf.php. Any configuration setting from the
#   variable table can be given a new value.
#
# $conf = array(
#      'site_name' => 'My Drupal site',
#      'theme_default' => 'pushbutton',
#      'anonymous' => 'Visitor'
# );

Dries's avatar
 
Dries committed
68
?>