This page offers answers to common questions about default platform settings, WordPress settings, and server configuration settings WP Engine Support is often asked. You can use this as a quick reference for many settings and how they are configured or changed.
WordPress Memory Limit
The default WordPress Memory Limit is 40MB for a single site, or 64MB for a Multisite network. These values are able to be increased to a maximum of 512MB by inserting the following lines under the “WP Engine Settings” section in your wp-config.php file:
define( 'WP_MEMORY_LIMIT', '512M' );
If you want to define a higher or lower amount of Memory for WordPress Administration use in the WordPress Admin Dashboard, you can add the following line to the one above:
define( 'WP_MAX_MEMORY_LIMIT', '512M' );
WooCommerce recommends setting this value to at least 128MB. You are free to define whichever Memory value works best for your site, as long as it does not exceed 512MB.
Maximum File Upload Size
The default maximum upload file size for sites is 50MB. This can be increased by request up to 200MB. Contact Support via 24/7 chat in the User Portal to request an increase if needed. Any files you wish to upload that are larger than 200MB must be uploaded via SFTP.
On Multisite networks, each individual subsite is assigned a Maximum file upload size separately. This value can be adjusted on the /wp-admin/network/settings.php page in your WordPress Admin Dashboard.
WordPress Post Revisions store a record of each saved draft or published update for a post. This system allows a user to see the last few changes that have been made to a post. Post revisions also allow the user to restore a page or post to a previous version. While great in theory, revisions cause the database to grow exponentially and a large database can directly impact site performance. Every WP Engine site has WordPress revisions disabled by default. It’s our recommendation to keep revisions disabled to assure optimal site speeds.
Revisions can only be enabled by contacting our Support team. Revisions cannot be enabled in the wp-config.php or php.ini files, as this is overwritten at the server level.
- Our Support team can help you enable up to 5 revisions for posts
- Revisions will be automatically removed after 60 days
If you migrated a site with existing revisions that you would like to preserve, reach out to support to have revisions enabled.
NOTE: This is not a retroactive change. It will not add revisions for existing posts, only allow revisions to be stored moving forward.
If you would like to clean up your database and delete any existing database revisions, the following query can be run from phpMyAdmin.
DELETE FROM wp_posts WHERE post_type = “revision”;
WP Engine does allow general WordPress emails such as password resets to be sent through WordPress. However, for sending large amounts of email such as a newsletter or email blast we require the use of an SMTP plugin to accomplish this. Port 25 is blocked for all services. We highly recommend using an email service that sends email via API, or an alternative port (such as port 2525).
By default, all WP Engine servers support TLS 1.2 (the version is used by all modern web browsers). Customers may request to move to a server with TLS 1.1 enabled if needed. If you have questions about which TLS versions are supported, simply open a chat (available 24/7) from your User Portal and our Support team is happy to assist!
Please note: If you are on a dedicated server solution you may request we enable TLS 1.1 on your current environment without moving to a new server. If you are not sure whether you are on a dedicated server solution, please contact our Support team via 24/7 chat and we are glad to assist.
Max Execution Time
The max_execution_time for scripts is set to 60 seconds. This setting is not able to be changed. If you are performing a task which will take over 60 seconds to complete it is recommended to batch this task into smaller segments if possible. Please contact Support via 24/7 chat in the User Portal if more help is needed.
Max Input Vars
The default max_input_vars setting is 1000, indicating no more than 1000 variables can be attached to any request. For performance we do not recommend using more than 1000 variables per request on your site. If this setting needs to be adjusted higher, you can set the following in your site’s .htaccess:
php_value max_input_vars 3000
For the best performance we encourage users to designate a maximum of 5000 variables with this setting.
If you wish to add CORS headers to other requests (posts and pages for example), this would need to be added with a .htaccess rule.
WP Engine has a specific set of platform-wide server modules which cannot be modified, removed, or added. To see a full list of modules, versions, and default settings, you can create a PHP Info file.
WP Engine currently offers PHP 7.2 and PHP 7.3 server environments.
WP Engine uses MySQL 5.6 and MySQL 5.7. New Digital Experiences will be placed on MySQL 5.7. To learn which MySQL version you are on, please contact Support.
WP Engine does not use the mod_security Web Application Firewall (WAF) with Apache. Instead, we use a proprietary traffic detection and blocking system among other Enterprise-grade security measures. Read more about WP Engine’s Enterprise-Grade Security for WordPress.
There are several site and server-wide configuration files in place for each environment. Some files are accessible and able to be modified, while others are not.
|Configuration file||Is editable?|
|php.ini file||No. Server-wide PHP settings are unable to be changed.|
|.htaccess file||Yes. Apache settings can be configured in this file. Please be advised that WP Engine uses a dual-web-server configuration, so these settings will only apply for uncached requests. Redirects and rewrites should be set in your User Portal rather than in this file, and directives for php_flag and php_value should be set in .user.ini.|
|wp-config.php file||Yes. This file can be edited, but there are many WP Engine-specific settings in this file which should not be changed. For the best results, put custom entries in the “WP Engine Settings” section at the bottom.|
|nginx.conf file||No. Server or site-specific Nginx settings are not able to be adjusted. If there is a specific Nginx setting you wish to adjust, please contact Support to see if there are any internal changes which may be made|