Increase Post Size

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
fr0z3ng33k
Forum Members
Forum Members
Posts: 59
Joined: Thu Mar 03, 2011 4:47 pm

Increase Post Size

Post 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
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: Increase Post Size

Post 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
Post Reply

Return to “CMSMS Core”