What file are you looking at? Each item is on a separate line in zp-config.php. And "localhost" is the value set by default for 'mysql_host'.
`
<?php /* PUT NOTHING BEFORE THIS LINE, not even a line break! */
$conf = array();
/** Do not edit above this line. **/
/**********************************/
/*////////// zenPHOTO Configuration Variables ///////////////////////////////
Note: zp-config.php.source is the source file for zp-config.php
For most installations Setup.php will copy zp-config.php.source to zp-config.php and
make the necessary changes to it. Unless this fails you most likely have no need even
to read this file.
If for some reason setup.php is not able to edit the zp-config.php file and you cannot
fix the file/folder permissions so that it can then you may have copy the
zp-config.php.source file to zp-config.php and make changes here manually.
Advanced installations may wish to modify the album folder definitions below.
Also on some servers zenphoto has problems correctly determining the WEB path and SERVER
path. For these cases you will need to implement the path overrides below.
///////////////////////////////////////////////////////////////////////////////*/
////////////////////////////////////////////////////////////////////////////////
// Database Information
////////////////////////////////////////////////////////////////////////////////
$conf['mysql_user'] = '';
$conf['mysql_pass'] = '';
$conf['mysql_host'] = 'localhost'; // Won't need to change this 90% of the time.
$conf['mysql_database'] = ''
// If you are having problems with displaying some characters you may have to change the following.
$conf['UTF-8'] = true;
// If you're sharing the database with other tables, use a prefix to be safe.
$conf['mysql_prefix'] = "zp_";
////////////////////////////////////////////////////////////////////////////////
// zp-config.php required options
////////////////////////////////////////////////////////////////////////////////
// location of album folder.
// 'album_folder' is the name of the folder for the zenphoto albums.
// 'album_folder_class' determines how to interpret 'album_folder':
// 'std' -- the folder must be a simple name. It resides in the root of the zenphoto installation.
// 'in_webpath' -- the folder must be the full path of the album folder from the WEB root of the zenphoto installation.
// 'external' -- the folder must be a full server path to the album folder. Images within an external folder
// are not visible to web browsers, so certain features such as flash players cannot display them
$conf['album_folder'] = '/albums/';
$conf['album_folder_class'] = 'std';
// Server Protocol
// Change this to "https" if you use an HTTPS server (a "https://..." url)
// Otherwise you should leave it at "http"
// NOTE: If you change this on an already installed configuration you will also have to change the
// gallery configuration server protocal option.
$conf['server_protocol'] = "http";
////////////////////////////////////////////////////////////////////////////////
// Path Overrides
////////////////////////////////////////////////////////////////////////////////
// Uncomment the following two lines ONLY IF YOU'RE HAVING PROBLEMS,
// like "file not found" or "not readable" errors.
// These allow you to override Zenphoto's detection of the correct paths
// on your server, which might work better on some setups.
////////////////////////////////////////////////////////////////////////////////
// define('WEBPATH', '/zenphoto');
// define('SERVERPATH', '/full/server/path/to/zenphoto');
////////////////////////////////////////////////////////////////////////////////
// chmod mask
////////////////////////////////////////////////////////////////////////////////
// Change the following define if you wish to increase the security of your site.
// When Zenphoto creates files or folders it sets their permissions based on this
// value. The value is masked with whatever Zenphoto would otherwise have used for
// the chmod() parameter. So, if you remove a permission from this mask, it will
// be removed from the permissions set by Zenphoto. A secure setting would be a value
// of 0755.
//
// NOTE:
// When you make a fresh installation of Zenphoto there normally is not a zp-config.php
// file present. Setup copies zp-config.php.source to create this file. But, of course,
// happens only after setup has been up and running. So without a zp-config.php file
// setup will be using its own default version of the definition. To get around this
// startup issue, copy zp-config.php.source to zp-config.php and make your edits.
// Then run setup.
////////////////////////////////////////////////////////////////////////////////
if (!defined('CHMOD_VALUE')) { define('CHMOD_VALUE', 0777); }
////////////////////////////////////////////////////////////////////////////////
/** Do not edit below this line. **/
/**********************************/
$_zp_conf_vars = $conf;
unset($conf);
?>
`