source: trunk/phpgwapi/doc/php-configuration.txt @ 2

Revision 2, 2.0 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1-------------------------------
2- Suggested PHP Configuration -
3-------------------------------
4
5This is a suggested php.ini config for running phpGroupWare 0.9.14 on php4. It
6is roughly in the order of the paramters in you php.ini file. These recommendations
7are based on feedback from users and developers.
8
9RESOURCES
10max_execution_time = 90
11This allows for encoding/decoding large file attachments on slower machines and
12other complex functions.
13
14memory_limit = 20M 
15At least this value should help with more complex operations.
16
17ERRORS
18error_reporting = E_ALL  ~E_NOTICE
19Having this set to E_ALL, will cause all types of problems if left to
20display on the screen.  E_NOTICE are no-fatal errors such as undefined
21variable etc.  Having this set to E_ALL only will dramatically increase
22the size of your log files if you log erros.
23
24display_errors = Off
25This can cause header output problems if left on.  They are better stored in you
26log file and that way you have a record of any problems.
27
28log_errors = On
29See above.
30
31DATABASES
32[dbms].allow_persistent = On
33This must be set to on if you want to use persistent databse
34connections.  Change [dbms] to what ever db you want to use ie mysql or
35pgsql
36
37FILE UPLOADING
38file_uploads = On
39If you want to use email,phpwebhosting, infolog or any apps that upload files
40this must be set to on.
41
42upload_max_filesize = 5M
43At least this.  This will allow for larger email attachments and
44phpwebhosting files.  Use filesize * 4 = memory_limit to allow for
45base64 encodes.
46
47PHP4 SESSIONS
48session.save_path = /tmp
49Your httpd must be able to read and write to this directory, if you
50intend to use php4 sessions.
51
52session.gc_maxlifetime = 1440
53Set this to what you want to be your session time out limit.  It is in
54second so set it to 3660 if you want it to one hour ... the default is
5524mins, which is generally too short.
56
57REGISTER GLOBALS
58register_globals = On
59Until release 0.9.14 phpGroupWare will not work, if the value is set to Off.
60All further releases will support the Off setting.
Note: See TracBrowser for help on using the repository browser.