1 # Apache and PHP configuration for eGroupWare
3 # Read /usr/share/doc/egroupware-core/phpgwapi/php-configuration.txt and
4 # /etc/php/php.ini about the meanings and suggested values for
5 # the configuration settings. Many settings are required to have a
6 # certain value for eGroupWare to function reasonably, so only change
7 # something if you are sure.
9 Alias /egroupware /usr/share/egroupware
11 <Directory /usr/share/egroupware>
12 Options FollowSymLinks ExecCGI
16 DirectoryIndex index.html index.php
17 AddHandler cgi-script .cgi
19 php_flag file_uploads on
20 php_flag magic_quotes_gpc on
21 php_flag magic_quotes_runtime off
22 php_flag short_open_tag on
23 php_flag track_vars on
24 php_value error_reporting 'E_ALL & ~E_NOTICE'
25 php_value max_execution_time 90
26 php_value mbstring.func_overload 7
27 php_value memory_limit 24M
28 php_value session.gc_maxlifetime 1440
29 php_value session.save_path /var/run/egroupware
30 php_value open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp
31 php_value upload_max_filesize 6M
32 <Files ~ "\.inc\.php$">
38 <Directory /usr/share/egroupware/fudforum>
39 AllowOverride Limit Options
42 <Directory /usr/share/egroupware/phpsysinfo>
43 php_value open_basedir /
46 <Location /egroupware/icalsrv.php>
47 Script PUT /usr/share/egroupware/icalsrv.php
48 AddHandler ical/ics .ics
49 Action ical/ics /usr/share/egroupware/icalsrv.php
54 <Location /egroupware/rpc.php>
55 php_value mbstring.func_overload 0