Changeset 1743

Show
Ignore:
Timestamp:
11/28/06 00:52:50 (2 years ago)
Author:
anarcat
Message:

My stab at #563: stop overwriting php.ini.

Most parameters different from the factory default are now set for the
whole /var/alternc, apart from those very notable exceptions, which
are not set by Alternc anymore:

  • precision = 12 ; The number of significant digits displayed in floating point numbers.
  • y2k_compliance = On ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  • safe_mode_allowed_env_vars = PHP_,LANG,LC_
  • highlight.*
  • max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
  • log_errors_max_len = 1024 ; Do not log repeated messages. Repeated errors must occur in same file on same
  • ignore_repeated_errors = Off ; line until ignore_repeated_source is set true. * ignore_repeated_source = Off
  • report_memleaks = On
  • warn_plus_overloading = Off
  • register_globals = On ; enfin!
  • default_charset = "iso-8859-1" (see #381)
  • upload_max_filesize = 5M ; left to admin's discretion
  • default_socket_timeout = 60
  • mysql.*
  • pgsql.*
  • sybase.*
  • dbx.*
  • session.*
  • mssql.*
  • extension=mysql.so ; we assume the php-mysql packages does this properly

The cgi/ subdir was never really changed, afaict.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/etc/alternc/templates/alternc/bureau.conf

    r1543 r1743  
    1010        Order allow,deny 
    1111        Allow from all 
     12        php_admin_flag safe_mode_gid on 
     13        php_admin_flag safe_mode on 
     14        php_admin_value safe_mode_exec_dir /var/alternc/exec.usr 
     15        php_admin_value disable_functions chgrp,link,symlink 
     16 
     17        php_admin_flag enable_dl off 
     18        php_admin_value upload_tmp_dir /var/alternc/tmp 
     19        pÄ¥p_admin_value sendmail_path /usr/lib/alternc/sendmail 
     20 
     21 
    1222</Directory> 
    1323<Directory /var/alternc/bureau> 
  • alternc/trunk/install/alternc.install

    r1717 r1743  
    1919CONFIG_FILES="etc/alternc/bureau.conf" 
    2020 
    21 if [ -e /etc/php4/apache/php.ini ]; then 
    22     CONFIG_FILES="$CONFIG_FILES etc/php4/apache/php.ini" 
    23 fi 
    24 if [ -e /etc/php4/cgi/php.ini ]; then 
    25     CONFIG_FILES="$CONFIG_FILES etc/php4/cgi/php.ini" 
    26 fi 
    2721if [ -e /etc/bind/named.conf ]; then 
    2822    CONFIG_FILES="$CONFIG_FILES etc/bind/templates/zone.template