[Xerte] MAXOS / Localhosters

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Fri Aug 27 09:16:54 BST 2010


Hello all,

You might want to consider the following changes to your PHP.ini if
you're using MAXOS or running a localhost.

These changes only affect file uploads and problems when exporting big
files. Your code will work fine without these changes, this is just
anticipating future problems.

Please get in touch if you need any pointers.

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 120     ; Maximum execution time of each script, in
seconds
max_input_time = 120	; Maximum amount of time each script may spend
parsing request data
memory_limit = 100M      ; Maximum amount of memory a script may consume
(16MB)

I would opt for 256M for memory

; Maximum size of POST data that PHP will accept.
post_max_size = 64M

100M for post

; Maximum allowed size for uploaded files.
upload_max_filesize = 64M

And 100m for upload_max_filesize

Pat Lockley
IS Learning team, Kings Meadow Campus

ext 68882



More information about the Xerte mailing list