Note: Flexi do not use any special function to generate own media sizes. The total media upload & management part is untouched. The media sizes you see in Flexi settings is handled by CSS without modifying files.
Flexi-PRO can post above 100MB to 9999MB.
You may want to increase or decrease the file size that your visitors can upload. Since Flexi do not use any functions to manage the media process it is totally depend upon your PHP & wordpress configuration.
Before you start the file size restrictions, you must know what your current wordpress or PHP configuration. You can see your current wordpress limit by visiting Flexi Settings => Form => Submission form settings or at Media upload manager .
WordPress will automatically show the maximum file upload size limit when you are uploading images or media. To check it you can simply go to Media » Add New page and you will see the maximum file upload size limit for your WordPress site.
If your serer upload size is more then you wanted then *skip all the details below* and simply enter the file size in MB at Flexi Form Settings.
Even after all the file size displayed is correct then you must check PHP max execution time. Increase it as possible with the instructions below.
Below are the steps should be done very carefully. The small mistake can crash the site. It is recommended that to contact server administrator to do this task.
1. Theme Functions File
There are cases where we have seen that just by adding the following code in theme’s functions.php file, you can increase the upload size:
@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );
2. Create or Edit an existing PHP.INI file
For this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
In most cases if you are on a shared host, then you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
This method is reported to work for many users. Remember if 64 doesn’t work, then try 10MB (sometimes that work).
3. htaccess Method
Some people have tried using the .htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Edit the .htaccess file in your WordPress site’s root folder and add the following code:
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
Again, it is important that we emphasize that if you are on a shared hosting package, then these techniques may not work. In that case, you would have to contact your web hosting provider to increase the limit for you.