What can I do if my website is slow?

There are various reasons why your application's response time may be slow. Additional installed content such as themes or plugins can cause problems. There may be too many simultaneous accesses to your web host, which could slow down the processing of various processes. You may also see a 503 error instead of your website. This article is intended to help you identify the cause and fix any errors.

You can enable the php_slow.log for your webspace to identify slow scripts or components. You can find this option in your easyname Control Panel under [Webhosting] → [PHP Settings] under the link [Settings] next to the respective PHP version, and finally click on [SAVE]. Log scripts whose runtime is longer than 3 seconds by selecting the corresponding time period under the heading slowlog.

Some things you should note:

  1. This option is only available from PHP 5.4 onwards.
  2. Activation may negatively impact the speed of all applications under this PHP version.
  3. If your application uses Zend Guard or IonCube Loader, enabling this option is not recommended.
  4. It may take up to 5 minutes for the setting to take effect.

When this mode is enabled, another log file called php_slow.log is created and stored in the /log/ directory (on the same level as /html/). This log records processes that take longer than the set time. If a process cannot be completed within 3 minutes, you will see a "+++ dump failed" message at the end of the corresponding log entry. Usually, the script at the top is the cause of the problem. Further down, the functions that were executed and where they occur in the respective script before the problem occurred are listed.