wiki:SourceForge

SourceForge

Installing FireStats on SourceForge is a bit tricky due to SourceForge strict security.

Configure FireStats database

You will need to create the php/fs-config.php manually. Create the file with this content, and edit to match your settings (obtain the actual values from sourceforge):

<?php
$fs_config['DB_NAME']='a12345_firestats';
$fs_config['DB_PREFIX']='';
$fs_config['DB_USER']='DB_ADMIN_USER'; #like a12345admin
$fs_config['DB_PASS']='YOUR_PASSWORD';
$fs_config['DB_HOST']='DB HOST';       #like mysql4-a
$GLOBALS['fs_config'] = $fs_config;
?>

Configure sessions directory

Additionally you will need to configure FireStats to work with a special sessions directory manually: Create a directory under /tmp/persistent, name it after your project:

mkdir /tmp/persistent/YOUR_PROJECT

If you don't already have a file named conf.php, copy sample-conf.php to conf.php (FireStats does not come with a conf.php file).
Add the following line to your conf.php file.

define('FS_TEMP_DIR','/tmp/persistent/YOUR_PROJECT/');
Last modified 9 years ago Last modified on May 25, 2008, 1:42:18 PM