wiki:SourceForge

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

--

SourceForge

Installing FireStats on SourceForge is a bit tricky due to SourceForge strict security.
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;
?>

Additionally, you will need to edit session.php and uncomment (remove the #) from the line:

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

Create a directory under /tmp/persistent, name it after your project, and fix it's permissions to be readable by the group:

mkdir /tmp/persistent/YOUR_PROJECT
chmod g+r /tmp/persistent/YOUR_PROJECT/fs_sessions

Then change the above line to this:

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