Server Requirements

To use  Fodstar 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

Fix cURL Error 28: Connection Timed Out in WordPress

The php.ini file is a configuration file used to adjust PHP settings. To enable the cURL extension, which allows PHP to make HTTP requests, add the following line to the file:

php.ini :

extension = php_curl.dll

If the php.ini file doesn’t exist, you’ll need to create it in the root folder of your PHP installation directory. This ensures that PHP can load the cURL extension. After making this change, restart your server to apply the new settings.

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);
Was this page helpful?