set values for mod_php5
authorCornelius Weiß <mail@corneliusweiss.de>
Wed, 15 Jun 2011 11:50:10 +0000 (13:50 +0200)
committerCornelius Weiß <mail@corneliusweiss.de>
Wed, 15 Jun 2011 11:50:10 +0000 (13:50 +0200)
scripts/packaging/debian/etc/apache.conf

index 78bbb4f..491136e 100644 (file)
@@ -20,7 +20,24 @@ Alias /tine20/ /usr/share/tine20/
     #    Options +ExecCGI
     #    FcgidWrapper /usr/local/bin/php-wrapper .php 
     #</IfModule>
-
+    
+    <IfModule mod_php5.c>
+        php_admin_value max_input_time 120
+        php_admin_value include_path .:/usr/share/tine20:/usr/share/tine20/library:/etc/tine20
+        php_admin_value open_basedir .:/usr/share/tine20:/var/lib/tine20:/tmp:/usr/share/php:/etc/tine20
+        php_admin_value session.gc_maxlifetime 86400
+        php_admin_value max_execution_time 90
+        php_admin_value memory_limit 64M
+        php_admin_value upload_max_filesize 20M
+        php_admin_value post_max_size 20M
+        php_admin_value safe_mode off
+        php_admin_flag display_errors off
+        php_admin_flag log_errors on
+        php_admin_flag magic_quotes_gpc off
+        php_admin_flag magic_quotes_runtime off
+        php_admin_flag register_globals off
+    </IfModule>
+    
     <IfModule mod_rewrite.c>
         RewriteEngine on