[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-users] problems after upgrading to php4.2.2 - Suggeste
From: |
Dave Hall |
Subject: |
Re: [Phpgroupware-users] problems after upgrading to php4.2.2 - Suggested config |
Date: |
Tue, 27 Aug 2002 15:44:15 +1000 |
Chris Weiss <address@hidden> wrote:
> These are good recomendations for any version of php.
Thanks, I decided to do the list so we would have less questions to
answer ... simple reply:
compare you php.ini config to the list at
http://docs.phpgroupware.org/php-ini.php
Or where ever it ends up. It was intended to be generic, but since i
haven't played with php pre about 4.1 i am not sure what work and what
doesn't. It was based on my 4.2.2 setup ... so i know it works for that.
>
>
> Dave Hall (address@hidden) wrote*:
> >
> >Hi,
> >
> >Here is my recommended php.ini setup for phpgroupware. Use what you
> >want from it. It is roughly in the order of the paramters in you
> >php.ini file
> >
> >RESOURCES
> >max_execution_time = 90
> >This allows for encoding/decoding large file attachments on
> slower machines
> >
> >memory_limit = 20M
> >At least this value should help with more complex operations
> >
> >ERRORS
> >error_reporting = E_ALL ~E_NOTICE
> >Having this set to E_ALL, will cause all types of problems if
> left to
> >display on the screen. E_NOTICE are no-fatal errors such as
> undefined>variable etc. Having this set to E_ALL only will
> dramatically increase
> >the size of your log files if you log erros.
> >
> >display_errors = Off
> >This can cause header output problems. They are better stored in you
> >log file and that way you have a record of any problems.
> >
> >log_errors = On
> >See above.
> >
> >DATABASES
> >[dbms].allow_persistent = On
> >This must be set to on if you want to use persistent databse
> >connections. Change [dbms] to what ever db you want to use ie
> mysql or
> >pgsql
> >
> >FILE UPLOADING
> >file_uploads = On
> >If you want to use email,phpwebhosting, infolog or any aps that
> want to
> >upload files this just be set to on
> >
> >upload_max_filesize = 5M
> >At least this. This will allow for larger email attachments and
> >phpwebhosting files. Use filesize * 4 = memory_limit to allow for
> >base64 encodes.
> >
> >PHP4 SESSIONS
> >session.save_path = /tmp
> >Your httpd must be able to read and write to this directory, if you
> >intend to use php4 sessions.
> >
> >session.gc_maxlifetime = 1440
> >Set this to what you want to be your session time out limit. it
> is in
> >second so set it to 3660 if you want it to one hour ... the
> default is
> >24mins.
> >
> >Hope this helps.
> >
> >Cheers
> >
> >skwashd
> >Dave Hall
> >
>
>
>
> _______________________________________________
> Phpgroupware-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>
dave.hall.vcf
Description: Card for <dave.hall@mbox.com.au>