I used to manage a WordPress site I created for my wife's business. She shut down her business during the pandemic, but I kept a local copy of the site on my old Mac using Local by Flywheel. I used the All-in-One WP Migration plugin to back up and import the site when needed. The backup file is 351 MB, which exceeds the plugin's maximum file size of 300 MB, but there was an additional free plugin called All-in-One WP Migration File Extension that got around this limitation.
I just got a new Mac and am trying to install the website using Local, but the File Extension crashed the Import operation and generated an error. I went to the plugin developer's site to see if there is an updated version of File Extension, but now the only option is a $69 annual subscription; they don't offer the free version anymore. Since I want a local copy of the website purely as a reminder of all the hard work I put into it over the years, I don't fancy paying $69. So I did some research and found that there are three ways to increase the maximum upload file size:
#1 - Paste this into the .htaccess file:
php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 512M
php_value max_execution_time 300
php_value max_input_time 300
This didn't work, although the instructions didn't say where to paste the code. I tried it before, in, and after the <IfModule mod_rewrite.c> ... </IfModule> block of code. However, the comment line in the existing file says "The directives (lines) between "BEGIN WordPress" and "END WordPress" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten." That implies that anything I pasted will be ignored.
#2 - Add this to the wp-config.php file:
@ini_set( 'upload_max_filesize' , '2048M' );
@ini_set( 'post_max_size', '2048M');
@ini_set( 'memory_limit', '2048M' );
@ini_set( 'max_execution_time', '0' );
@ini_set( 'max_input_time', '300' );
This didn't work. I pasted it after /* Add any custom values between this line and the "stop editing" line. */
#3 - Use the Plugin Editor to open constants.php and change define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 ); to define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 5 );
Plugin Editor doesn't appear in my Admin panel. I read that, to activate it, you need to add define(‘DISALLOW_FILE_EDIT’, false) to wp-config.php. That produced an error saying that the value was undefined.
I'm by no means an expert coder, but I understand the basics. The above solutions are from web pages that were created before the All-in-One File Extension went to subscription-only. Could the plugin be overruling them? Is there anything else I could try, other than paying $69?
I just got a new Mac and am trying to install the website using Local, but the File Extension crashed the Import operation and generated an error. I went to the plugin developer's site to see if there is an updated version of File Extension, but now the only option is a $69 annual subscription; they don't offer the free version anymore. Since I want a local copy of the website purely as a reminder of all the hard work I put into it over the years, I don't fancy paying $69. So I did some research and found that there are three ways to increase the maximum upload file size:
#1 - Paste this into the .htaccess file:
php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 512M
php_value max_execution_time 300
php_value max_input_time 300
This didn't work, although the instructions didn't say where to paste the code. I tried it before, in, and after the <IfModule mod_rewrite.c> ... </IfModule> block of code. However, the comment line in the existing file says "The directives (lines) between "BEGIN WordPress" and "END WordPress" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten." That implies that anything I pasted will be ignored.
#2 - Add this to the wp-config.php file:
@ini_set( 'upload_max_filesize' , '2048M' );
@ini_set( 'post_max_size', '2048M');
@ini_set( 'memory_limit', '2048M' );
@ini_set( 'max_execution_time', '0' );
@ini_set( 'max_input_time', '300' );
This didn't work. I pasted it after /* Add any custom values between this line and the "stop editing" line. */
#3 - Use the Plugin Editor to open constants.php and change define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 ); to define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 5 );
Plugin Editor doesn't appear in my Admin panel. I read that, to activate it, you need to add define(‘DISALLOW_FILE_EDIT’, false) to wp-config.php. That produced an error saying that the value was undefined.
I'm by no means an expert coder, but I understand the basics. The above solutions are from web pages that were created before the All-in-One File Extension went to subscription-only. Could the plugin be overruling them? Is there anything else I could try, other than paying $69?