#!/bin/sh -euf
# -*- mode: Shell-script; tab-width: 8; fill-column: 70; -*-
# $Id: php5.cli.control,v 0.0.1 2005/10/28 03:31:34 legion Exp $

php_description relaxed "The relaxed configuration profile"

# Relaxed mode
php_rule relaxed	"disable_functions"		""
php_rule relaxed	"error_reporting"		"E_ALL" "6143"
php_rule relaxed	"display_errors"		"$php_off"
php_rule relaxed	"display_startup_errors"	"$php_off"
php_rule relaxed	"log_errors"			"$php_on"
php_rule relaxed	"ignore_repeated_errors"	"$php_off"
php_rule relaxed	"ignore_repeated_source"	"$php_off"
php_rule relaxed	"report_memleaks"		"$php_on"
php_rule relaxed	"variables_order"		"GPCS"
php_rule relaxed	"post_max_size"			"4M"
php_rule relaxed	"include_path"			"./:$PHP_LIBDIR/:$PHP_LIBDIR/$PHP_VERSION/:/usr/share/php/pear/:/usr/share/php/modules/:/usr/share/php/$PHP_VERSION/modules/"
php_rule relaxed	"extension_dir"			"$PHP_LIBDIR/$PHP_VERSION/extensions/"
php_rule relaxed	"enable_dl"			"$php_on"
php_rule relaxed	"upload_max_filesize"		"2M"
php_rule relaxed	"allow_url_fopen"		"$php_on"
php_rule relaxed	"define_syslog_variables"	"$php_off"
php_rule relaxed	"alt_sapi_config_ini_scan_dir"	"$PHP_ETCDIR/$PHP_MAJOR/$PHP_SAPI/php.d"

