wiki:SourceForge

Version 3 (modified by omry, 11 years ago) (diff)

--

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

Open php/session.php and edit the following line:

#define('FS_TEMP_DIR','/tmp/persistent');

to this (Rmove the #comment and add append /YOUR_PROJECT/fs_sessions:

define('FS_TEMP_DIR','/tmp/persistent/YOUR_PROJECT/fs_sessions');