Basic PHP pre-tests for Savane installation

This page should help you to check whether your installation is properly configured. Once your installation is running, you should remove this file or restrict its access, since it could give details about your setup to anybody.

Base PHP configuration:

PHP Tag nameLocal valueSuggested/Required value
file_uploads11
magic_quotes_gpc11
register_globals11
register_long_arrays11
post_max_size8M3M
upload_max_filesize2M3M

PHP functions:

function mysql_connect() exist.
function gettext() exist.
function ctype_digit() exist.
function pam_auth() does not exist. You must have a PHP version supporting pam_auth only if you set up authentification via PAM (kerberos, AFS, etc)

Apache environment vars:

SAVANE_CONF configured to /etc/savane
File /etc/savane/.savane.conf.php exists and is readable.

Savane configuration:

Conf variableCurrent valueIs required?
sys_default_domainlocalhost1
sys_https_host0
sys_dbhostlocalhost1
sys_dbnamesavane1
sys_dbusermysqluser1
sys_dbpasswd**************1
sys_www_topdir/usr/share/savane-frontend1
sys_url_topdir/savane1
sys_incdir/usr/share/savane-specific-content1
sys_nameTest Savane Installation1
sys_unix_group_namesiteadmin1
sys_themedefaultEmeraud1
sys_mail_domainfree.fr1
sys_mail_adminroot1
sys_mail_replytoguillaume.bailleul1
sys_upload_max0

Securing PHP configuration:

The following is not required to run Savane but could enhance security of your production server. Some of these makes harder to debug an installation and, as such, should be avoided on a test installation, or if your installation is not working.
PHP Tag nameLocal valueSuggested/Required value
allow_url_fopen00
disable_functionsexec, passthru, popen, shell_exec, system (can be set in php.ini or httpd.conf - but not in .htaccess)
display_errors00
error_reporting204785 (can be set in php.ini, .htaccess or httpd.conf)
log_errors11

That's it!