Increasing upload limit with php.ini

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
newagekat
Forum Members
Forum Members
Posts: 161
Joined: Mon Feb 06, 2006 6:06 pm

Increasing upload limit with php.ini

Post by newagekat »

I realize I'm not a developer, so this post may not be appropriate.  Please move the post if it should appear elsewhere.

My host is a Linux server running PHP as CGI, so permission by 'nobody' is not permitted.

I needed to increase the upload file size from 3M to 12M.  My Host placed a php.ini file in the root directory where the cms is located.  the php.ini file contains:

upload_max_filesize = 12M
max_execution_time = 60

However, the client is still having difficulty uploading files larger than 3M.  I check the cpanel for PHP information and file upload size shows as 3M.  I also checked the system information in CMS admin and it says:

    * safe_mode: Off (False)
    * phpversion: 5.2.5
    * memory_limit: 64M
    * max_execution_time: 30
    * gd_version: 2
    * session_save_path: No check because OS path

Can someone please explain to me what I need to do to increase execution time and increase upload file size?

Your assistance is greatly appreciated.

kp
mannerv
Forum Members
Forum Members
Posts: 49
Joined: Wed May 28, 2008 1:02 pm

Re: Increasing upload limit with php.ini

Post by mannerv »

I think you should contact your host again and tell that the upload_max_filesize change has not taken any effect. Tell them that you checked cPanel, that it still shows the same size and ask for more advice.

My 2 cents is that PHP.INI change takes effect when Apache is started. So, it might be that they forgot to restart Apache or maybe they only do server restarts at certain maintenance times.
Post Reply

Return to “CMSMS Core”