Setting Up the Recommended Server Configuration

Setting Up the Recommended Server Configuration

Server Status

You can find your server status in the Theme Dashboard, as shown below:

Theme Dashboard > Server Status

If you see an error icon next to Writable uploads directory in the server status section of your WordPress dashboard, it means WordPress doesn’t have sufficient permissions to write to the uploads directory. This prevents WordPress from uploading new attachments, such as images.

 

To fix this issue:

1

Log in to your server using an FTP client or your hosting control panel.

2

Ensure that all Directories in your WordPress installation have 755 permissions, and all Files have 644 permissions.

3

Make sure that the server user (e.g. Apache) has permission to manage the WordPress installation files. To confirm this, we recommend contacting your hosting provider.

If you see an error icon next to Memory Limit (256MB) in the server status section of your WordPress dashboard, it means the allowed memory size is less than the recommended 256MB. While your website may still function with a lower memory limit, 256MB is required for certain memory-intensive actions—such as importing large demo content.

To fix this issue:

1

Access your website files via an FTP client or the File manager in your hosting control panel.

2

Locate and open the wp-config.php file in the root directory of your WordPress installation.

3

Add the following line just before the line that says That’s all, stop editing! Happy blogging.:

define( 'WP_MEMORY_LIMIT', '256M' );

4

Save the file and upload it back to your server.

After completing these steps, return to the WordPress theme dashboard and check if the memory limit warning has been resolved.

Note: If this solution doesn’t work, your hosting provider may be preventing WordPress from increasing the PHP memory limit. In that case, contact your hosting provider and request a manual increase of the PHP memory limit.

If you encounter the The link you followed has expired error when uploading the theme, or see an error icon next to Upload max filesize (64MB) in the server status on your WordPress dashboard, it means that the maximum upload size is lower than the recommended 64MB. While the site may still function, it’s recommended to increase this limit to avoid issues when uploading larger files.

You can fix this issue using one of the following methods:

1

Update wp-config.php

Edit the wp-config.php file in the root directory of your WordPress installation and add the following line:

@ini_set( 'upload_max_size' , '64M' );

2

Create or Edit php.ini

Access your WordPress root folder using an FTP client or the File Manager in your hosting control panel.

  • If you don’t see a php.ini file, create a new one.
  • Add the following line inside the file:
upload_max_filesize = 64M

3

Update .htaccess File

Edit the .htaccess file located in your site’s root directory and add:

php_value upload_max_filesize 64M

After applying one of these solutions, try uploading the file again.

Note: If none of these methods work, your hosting provider may have disabled the ability to change this setting manually. In that case, contact your web host and request that they increase the PHP upload max file size limit for you.

If you see an error icon next to Post max size (64MB) in the server status section of your WordPress dashboard, it means that the maximum allowed size for post actions is lower than the recommended 64MB. While your website may still function, a higher limit is recommended to prevent issues during large operations—such as importing demo content.

You can fix this issue using one of the following methods:

1

Update wp-config.php

Edit the wp-config.php file in the root directory of your WordPress installation and add this line:

@ini_set( 'post_max_size' , '64M' );

2

Create or Edit php.ini

Access your WordPress root folder using an FTP client or the File Manager in your hosting control panel.

  • If you don’t see a php.ini file, create a new one.
  • Add the following line inside the file:
post_max_size = 64M

3

Update .htaccess File

Edit the .htaccess file located in your site’s root directory and add:

php_value post_max_size 64M

After applying one of these changes, recheck your WordPress dashboard to ensure the issue is resolved. If the warning persists, contact your hosting provider to request a manual increase of the post max size limit.

If you see an error icon next to Max input vars (3000) in the server status section of your WordPress dashboard, it means your server is limiting the number of input variables allowed for a single request. This may lead to issues such as missing data in the theme options or widgets.

For optimal performance, the max_input_vars value should be set to 3000.

You can fix this issue using one of the following methods:

1

Update wp-config.php

Edit the wp-config.php file located in the root directory of your WordPress installation and add the following line:

@ini_set( 'max_input_vars' , '3000' );

2

Create or Edit php.ini

Access your WordPress root folder using an FTP client or the File Manager in your hosting control panel.

  • If a php.ini file does not exist, create one.

  • Add the following line inside the file:
max_input_vars = 3000

3

Update .htaccess File

Edit the .htaccess file located in your site’s root directory and add:

php_value max_input_vars 3000

After applying one of the above solutions, refresh your WordPress dashboard and check the server status to confirm the issue has been resolved. If it persists, contact your hosting provider to request a manual increase of the max_input_vars limit.

If you see an error icon next to Max execution time (300s) in the server status section of your WordPress dashboard, it means your server is limiting how long a single operation can run before timing out. The current limit is below the recommended 300 seconds, which may cause issues when performing long tasks such as importing demo content.

You can fix this issue using one of the following methods:

1

Update wp-config.php

Edit the wp-config.php file located in the root directory of your WordPress installation and add the following line:

@ini_set( 'max_execution_time' , '300' );

2

Create or Edit php.ini

Access your WordPress root folder using an FTP client or the File Manager in your hosting control panel.

  • If a php.ini file does not exist, create one.

  • Add the following line inside the file:
max_execution_time = 300

3

Update .htaccess File

Edit the .htaccess file located in your site’s root directory and add:

php_value max_execution_time 300

After applying one of these changes, revisit your WordPress dashboard and check the server status again to confirm the issue has been resolved.

If the php-xml extension (specifically the XMLReader class) is not installed or enabled on your server, the default WordPress importer will not function correctly. As a result, you may not be able to import content into your WordPress site.

To fix this issue:

  • Install and enable the php-xml extension on your server.
  • If you don’t have server access, contact your hosting provider and ask them to enable php-xml (including the XMLReader class) for your hosting environment.

pixfort
pixfort
Support Team

Hey, this is pixfort support team, if you still need help you can always reach us via your pixfort account

Related Posts

Search

Start typing to search for a specific article on our website

Made with Popup Builder
Image link
Hey there

Search for a specific article

Get started

Check useful guides to get started

Still need Help?

Send us a support message

Our usual reply time: 1 Business day