I’m attempting to install SuiteCRM version 7.5.1 on my Centos 6.7 server VM. Here is my LAMP setup:
PHP 5.3.3-46
MySql 5.1.73-5
Apache 2.2.15-47
When attempting the install.php process, on the System Environment page, I keep getting the following error under Upload File Size:
Warning: Your PHP configuration should be changed to allow files of at least 6MB to be uploaded
I have modified my php.ini with the following settings, which I have found in other forums:
post_max_size = 200M
upload_max_filesize = 100M
memory_limit = 128M
I still get the same error message upon retrying the install.
This is a new VM that I stood up and is a dedicated install for SuiteCRM, so there are no competing platforms or software packages to contend with.
If you have not restarted the Apache service after making changes to your php.ini file, you will likely have to do this for the changes to truly take effect.
If you restart the apache service, do you still get the error?
Yes, restarting Apache didn’t have any impact. The error still persisted. Having said this, I threw in the towel and went with a pre-packaged Turnkey Linux ISO. I really hated doing that, as I like to complete and understand the installation process for server packages such as these, but I need to move forward quickly on this project.
I did confirm that there was only one php.ini file. That seems to be the most common recommendation, but wasn’t applicable to this instance. Thank you for the reply though!
I know this is an old post but I was going crazy for a second knowing that I edited both /etc/php/7.0/fpm/php.ini and etc/php/7.0/cli/php.ini correctly, AND I restarted the web server but SuiteCRM was still presenting this warning.
I didn’t realize that php-fpm needs a reload as well.
You can confirm that the running php-fpm’s config is different than you expect by adding a little code to dump the config.
Add this to info.php in the SuiteCRM web root:
<?php phpinfo(); ?>
and it will tell you what the values of
post_max_size = 200M
upload_max_filesize = 100M
memory_limit = 128M