Changing CMS memory and upload settings

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.
Locked
Anastasis

Changing CMS memory and upload settings

Post by Anastasis »

On a couple of the settings when installing I received the following warnings (giving me an orange indicator):
Checking PHP memory limit (min 8M, recommend 16M)

You may not have enough memory to run CMSMS correctly. If possible, you should try to get your system admin to raise this value to the minimum 8M or great. Proceed with caution.

You have "2M"Checking max upload file size (min 2M, recommend 10M)

You probably will not be able to upload any files using any of the included file management functions. Please be aware of this restriction.
Using my web space host's CPanel software I was able to change permissions on the needed folders during the installation which was straightforward.

Without needing to contact support at my web host, does anyone know a method using the standard CPanel software to make the necessary changes to the memory and upload settings? In particular, I am concerned about increasing the upload limit to 10M as this could be necessary for my site and wanting to upload images.
moorezilla

Re: Changing CMS memory and upload settings

Post by moorezilla »

I don't use cpanel, but both of these settings are in the php.ini file with php5. If you can edit that file, you can change both settings. Just look for the two lines and raise the limits.
Signex

Re: Changing CMS memory and upload settings

Post by Signex »

Those settings are as far as I know not available in Cpanel, I think you`ll need to contact your host.
Anastasis

Re: Changing CMS memory and upload settings

Post by Anastasis »

Thanks - I have contacted my host and they have changed the upload setting to 10MB - oddly though the installation check is now showing a red light whereas before when only 2MB was the limit it was showing orange.

Why is that when 10MB is recommended and 10MB is what it is reported I now have - is there a bug in the installation check?

I am waiting on my host to also upload the memory limit to 16MB.
Anastasis

Re: Changing CMS memory and upload settings

Post by Anastasis »

OK, both settings have now been updated by my host, but I am still getting a red traffic light on the upload setting. See below:
Checking max upload file size (min 2M, recommend 10M)  You have "10MB"

You probably will not be able to upload any files using any of the included file management functions. Please be aware of this restriction.
Why I am now getting a red traffic light when the install check says I have 10MB which is the recommended amount?
Jonny
Forum Members
Forum Members
Posts: 77
Joined: Sun Sep 24, 2006 10:49 am

Re: Changing CMS memory and upload settings

Post by Jonny »

Strange. I don't know why you're seeing that but it may be worth trying PHP overrides. Here's what works on my cpanel hosted installations of CMSMS.

Add this to the .htaccess file in your public_html directory:

Code: Select all

php_value upload_max_filesize 10M
If you are running PHP5 under CGI, create a file named php.ini in the public_html directory and add this code:

Code: Select all

upload_max_filesize = 10M
I don't think it would do any harm to try both of the above simultaneously.
Locked

Return to “CMSMS Core”