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.
WP Engine disables revisions by default, as they are known to clutter database tables and cause poor performance. Up to 5 revisions can be enabled by request. Contact Support via 24/7 chat in the User Portal to make requests for revisions.
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. WP Engine utilizes Google Cloud servers, which restrict the use of ports 587 and 465 to Google Apps only. 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).
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 file:
php_value max_input_vars 3000
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 list of modules, versions, and default settings, you can create a PHP Info file.
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.|
|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.|