Page 1 of 1

Increase Post Size

Posted: Mon Jul 23, 2012 2:04 pm
by fr0z3ng33k
I've posted the php.ini file but the Maximum Post Size (post_max_size) &
Maximum Upload Size (upload_max_filesize) are not in it. I have a Yellow exclamation point is on my page saying it's to low (currently at 8mb). The User Handbook says to edit the php.ini file, however it's not in here. Any ideas how to add these to and change them to 10mb?

Also Maximum Execution Time (max_execution_time).

Thanks. Version 1.10.3, php5.2

Code: Select all

register_globals = off
allow_url_fopen = off

expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.server.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
rg_emulation=off

Re: Increase Post Size

Posted: Mon Jul 23, 2012 3:04 pm
by spcherub
Here's what I've found from practical experience. Assuming your hosting company supports PHP directives via php.ini, make a version of php.ini and put it in 3 places:
1. Main (root) directory of the CMS install
2. Admin directory
3. Install directory

The following directives are what I use on my installations:

Code: Select all

output_buffering = 4096
max_execution_time = 60
allow_url_fopen = 1
upload_max_filesize = 10M
post_max_size = 10M
BTW all of the above work on my my hosting provider (1&1) - YMMV depending on your provider.

-S