So I’ve spent a little time over the years doing opensource web development, in particular PHP. And one of my favorite PHP platforms is CMS Made Simple (CMSMS) CMS Made Simple. Recently I was having an issue uploading files larger than 2MB using Image Manager. The error I was getting was “File could not be uploaded. This could be a permissions or Safe mode problem?”

After doing some checking I decided to check the config file, and sure enough max upload was set at 2MB, see below.  I adjusted this to 10MB by changing the value to 10000000, and that resolved the issue.


#Maxium upload size (in bytes)?

$config[‘max_upload_size’] = 2000000;