Server Requirements

Estimated reading: 2 minutes 474 views

To use  Aanir WordPress theme you need to have a WordPress 5.5 (or higher version) site with PHP 7.4 or more and MySQL 5.6+ running on your hosting server. If you’ve already installed WordPress on your server and your site is up, that’s great. For help regarding WordPress installation, please see this WordPress Codex link.

WordPress Codex For Beginners:

Increase upload file limit size and server execution time

To increase upload file limit size and server execution time, please follow the article How to Increase the Maximum File Upload Size in WordPress (wpbeginner.com)

For htaccess file:
php_value upload_max_filesize 256M
php_value post_max_size 256M
php_value max_execution_time 3000
php_value max_input_time 3000

Disable Debug Mode in WordPress:

Disabling debug mode in WordPress is crucial for security, as it prevents error messages from revealing sensitive information. It also enhances performance by stopping unnecessary logging and error reporting on the live site.

To disable debug mode in WordPress, you can follow these steps:

  • Access the WordPress website’s root directory through FTP or cPanel File Manager.
  • Look for the wp-config.php file and open it using a text editor.
  • Locate the line that says “define(‘WP_DEBUG’, true);” and change the value from “true” to “false”.
  • Save the changes to the file and upload it back to the server.

Once the file has been uploaded, refresh the website and check to see if the debug messages are no longer appearing.

For wp-config file:
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
define('WP_DEBUG_LOG', false);