The All-in-One WP Migration plugin (ServMask) exports and imports whole WordPress sites. Large imports hit PHP upload limits and sometimes a plugin-side cap.
What is All-in-One WP Migration?
It packages themes, plugins, uploads, and the database into a single archive for migration or backup. Imports can flow from the filesystem, cloud storage, or other extensions depending on what you install.
When do you need this guide?
Use it when the Import screen shows a low ceiling (for example ~80 MB) on a Bitnami WordPress on EC2 stack and your .wpress archive is larger.
What you will change
Raise upload_max_filesize and post_max_size in Bitnami’s php.ini (example: 300 MB), restart the stack, and confirm the new ceiling in wp-admin. Prefer FileZilla or SSH over the dashboard file editor.
Plugin caps vs PHP caps
The effective limit is the minimum of PHP, reverse-proxy body limits, and any cap from the plugin or its ServMask extensions. Raising PHP alone may not lift a software ceiling in the free tier.
Example values only.
Set sizes that match your archive plus headroom. Keep post_max_size at least as large as upload_max_filesize.
Avoid the Plugin File Editor.
Dashboard PHP edits are often disabled, easy to break, and overwritten on updates. Edit php.ini outside the plugin tree.
After imports work.
Store large archives in S3 and sync with the CLI when disks fill up.
Reference
Core Concepts
Terms you will use while raising the import ceiling:
Concept
Meaning
upload_max_filesize
Max size of a single uploaded file in PHP
post_max_size
Max size of a POST body (must be ≥ upload size)
AI1WM_MAX_FILE_SIZE
Plugin constant that can advertise an import cap
php.ini
PHP config file; Bitnami often uses /opt/bitnami/php/etc/php.ini
ctlscript.sh restart
Bitnami helper that restarts Apache/Nginx/PHP services
.wpress
All-in-One WP Migration archive format
Proxy body limit
Nginx/Apache/ALB limits that can still reject large uploads
Premium extension
Vendor add-on that can raise plugin-enforced ceilings
Before you start
Prerequisites
Have these ready before you edit PHP:
A running Bitnami WordPress EC2 instance (see WordPress on AWS) with wp-admin access.
Enough free disk space for the import archive plus temporary extract room.
Walkthrough
Examples
Install the plugin, note the current limit, raise PHP settings on Bitnami, restart, and verify Import.
Example 1 — Install All-in-One WP Migration
Add the ServMask plugin from wp-admin.
Sign in to wp-admin.
Open Plugins → Add New.
Search for All-in-One WP Migration (vendor ServMask).
Choose Install Now, then Activate.
How It Works
Install from wordpress.org keeps updates available in the dashboard.
Activate registers the All-in-One WP Migration admin menu.
Export/Import appear after activation; Import shows the current size ceiling.
Keep WordPress and plugins updated before large migrations when you can.
Example 2 — Note the Current Import Limit
See what the UI advertises before you change PHP.
In wp-admin, open All-in-One WP Migration → Import.
Note the advertised maximum upload size (often around 80 MB on fresh installs).
WordPress
How It Works
The Import screen reflects PHP and/or plugin caps.
Your archive must be smaller than the effective limit (plus headroom).
After php.ini changes, reload this page to confirm the new value.
Proxy limits can still block large POSTs even when PHP looks fine—see web server body limits.
Example 3 — Optional Plugin Constant Check
Confirm AI1WM_MAX_FILE_SIZE is not stuck low—without relying on the dashboard editor for production fixes.
On current releases the definition may live under the plugin’s constants.php (or equivalent).
Paths change between versions—compare with the vendor documentation before editing anything inside wp-content/plugins/.
Prefer SFTP/SSH for inspection; avoid lasting hacks in plugin PHP that updates will erase.
WordPress
Do not depend on the Plugin File Editor.
It is often disabled for security. Use FileZilla/SSH for php.ini, or ServMask-supported filters and extensions for durable limits.
How It Works
Plugin constants can advertise a cap independent of PHP.
Updates overwrite manual edits under wp-content/plugins/.
Vendor extensions are the supported way to raise software ceilings.
PHP remains required even after a plugin cap is lifted.
Example 4 — Raise Limits in php.ini
Edit Bitnami PHP configuration over SFTP or SSH.
Connect with FileZilla (or SSH) and open Bitnami’s PHP configuration, commonly /opt/bitnami/php/etc/php.ini.
If your stack is not Bitnami, locate php.ini with php --ini or your AMI docs.
Set upload_max_filesize and post_max_size (example: both 300M). Keep post_max_size ≥ upload_max_filesize.
Save and upload the file back to the server.
Path (Bitnami)
/opt/bitnami/php/etc/php.ini
php.ini (example)
upload_max_filesize = 300M
post_max_size = 300M
SFTP / FileZillaEditor
How It Works
upload_max_filesize caps each uploaded file.
post_max_size caps the whole POST; if it is smaller, uploads fail first.
Bitnami path is common but version-specific—confirm with php --ini if unsure.
Changes do not apply until PHP/web services restart (next example).
Example 5 — Restart Bitnami and Verify
Reload PHP, then confirm Import shows the new ceiling.
Over SSH as a user with sudo, restart Bitnami services:
Terminal (EC2)
sudo /opt/bitnami/ctlscript.sh restart
Reload All-in-One WP Migration → Import.
Confirm the displayed limit reflects your new PHP settings (and any premium extension caps).
UbuntuWordPress
How It Works
ctlscript.sh restart reloads Apache/Nginx and PHP on Bitnami.
Hard-refresh Import so the browser is not caching the old banner.
If the UI is still low, a plugin extension cap or proxy body limit may remain.
Non-Bitnami stacks restart php-fpm or the web server instead—see a php-fpm upload limits guide.
Edge Cases & Pitfalls
Most failures are a smaller post_max_size, a skipped restart, or a plugin software cap.
post
post_max_size left too small
PHP rejects the POST before the file limit matters. Match or exceed upload_max_filesize.
restart
Edited php.ini but did not restart
Running PHP workers keep old values until ctlscript.sh restart (or your stack’s equivalent).
plugin
UI still shows a low free-tier cap
ServMask may enforce a software ceiling. Check extensions and current product limits.
disk
Import fails with disk full
Archives expand during import. Free space on the root volume or move media to S3.
proxy
413 or gateway errors on large uploads
Nginx client_max_body_size or another proxy in front of PHP can still block the request.
editor
Plugin edit wiped after update
Never rely on patched plugin PHP. Keep durable settings in php.ini or vendor-supported hooks.
Remember
Key Takeaways
Bottleneck layer: PHP, proxy, and plugin—raise the one that is smallest.
Bitnami: edit /opt/bitnami/php/etc/php.ini for upload and post sizes.
Restart:sudo /opt/bitnami/ctlscript.sh restart after edits.
Skip plugin hacks: updates wipe them; use php.ini or vendor extensions.
One line: raise upload_max_filesize and post_max_size, restart Bitnami, then recheck Import.
Frequently Asked Questions
The effective limit is the smallest of PHP upload_max_filesize, post_max_size, web server and proxy body limits, and any cap enforced by the plugin or its extensions. Raise the relevant PHP values and restart PHP for Bitnami stacks after editing php.ini.
Avoid the dashboard file editor for production. It is often disabled for security, edits are easy to get wrong, and plugin updates overwrite manual changes. Prefer SFTP or SSH on the server, or use supported filters and add-ons from the vendor.
A common path on Bitnami stacks is /opt/bitnami/php/etc/php.ini. Paths can differ by image version; verify with Bitnami documentation or php --ini from the server shell if unsure.
PHP rejects oversized POST bodies when post_max_size is too small, even if upload_max_filesize is large. Set post_max_size to at least your largest expected upload (often match both directives for simplicity).
The free tier of the plugin may still advertise a ceiling. ServMask sells extensions that raise or remove that cap while keeping support. Check the current product page for limits that are enforced in software rather than only by PHP.
Locate the active php.ini or drop-in overrides for your AMI (Apache, Nginx, or php-fpm pools). Restart the correct service so changes apply.