Monitor and (re)start service with ISPConfig

,

Under “Monitor” you can not only see the status of individual services (e.g. web server) on our managed server, but also (re)start or stop individual services.

View service status

Open “Monitoring”, select the server you want to monitor on the left side and click on “Show services”.

(Re)start / stop services

Under “possible action(s)” select the action to be performed.

Outstanding services

MySQL Server

This service cannot be stopped on any server

Web Server

You can only stop the web server (Apache or nginx) if you have multiple servers and you don’t want to change the services of the first server (the management interface ISPConfig runs there).

Set PHP version for cronjobs

,

You can not only use the PHP version of the server for a cron job.

Execute PHP Script

If you want to execute a PHP script in a cron job, you can click either on “[PHP version of the server]” or on “[PHP version of the website]” under “Command to run”. This will then enter either {SYSTEM_PHP} or {SITE_PHP}.

{SYSTEM_PHP}

is always the PHP version directly installed on the server. Instead of {SYSTEM_PHP} you can also enter only php in this case. With the link “[PHP version of the server]” this version is set.

{SITE_PHP}

If you want the cron job to use the same PHP version as your web siet (we provide you with different versions), you can use the link “[PHP version of the web page]” {SYSTEM_PHP}. If you later change the PHP version of your website, the start of the cron job will also be changed so that it always runs with the PHP version of your website.

Redis Support with ISPConfig

,

Redis is an in-memory database and is therefore stored in memory. The queries of such a database are much faster than queries of a database stored on the hard disk. With Redis it is possible to get even more performance out of a website. For example, you can save the sessions of a website in Redis, which has a very positive effect on the loading time.

To save the PHP sessions into a Redis instance you just have to create a Redis instance for the website in ISPConfig and then add the “Session Save Handler” for Redis to the php.ini settings. After that you might have to change the configuration of your CMS or store system.

Possible settings for a Redis instance

The Redis instance set up and secured for a web page is permanently connected to the web page and can have the following values:

  • Max. 10 databases
  • Max. Database size: 50% of the available memory on the server is available.
  • Individual MaxMemory Policy to decide how Redis behaves when memory is full.
  • Automatic allocation of a port
  • Automatic assignment of a password
  • Access to log files

Set up Redis for a website

On your managed server open the Sites and click “Redis Databases” and click on the button “Create a new Redis-Instance”.

Select the appropriate website and give the instance a name. Additionally you can set the maximum number of databases and the total size of the instance.
The size is limited to a maximum of 50% of the working memory. If you enter “-1” here, the maximum value is automatically taken. Please note that other services on your server also need memory.

Redis Policies

Under Redis policy you can define different rules how the Redis database reacts when its memory is exhausted.

  • noeviction return errors when the memory limit was reached and the client is trying to execute commands that could result in more memory to be used (most write commands, but DEL and a few more exceptions).
  • allkeys-lru evict keys by trying to remove the less recently used (LRU) keys first, in order to make space for the new data added.
  • volatile-lru evict keys by trying to remove the less recently used (LRU) keys first, but only among keys that have an expire set, in order to make space for the new data added.
  • allkeys-random evict keys randomly in order to make space for the new data added.
  • volatile-random evict keys randomly in order to make space for the new data added, but only evict keys with an expire set.
  • volatile-ttl evict keys with an expire set, and try to evict keys with a shorter time to live (TTL) first, in order to make space for the new data added.

Edit Redis instance

If you have created a Redis instance, you can for example change the policy and the database size at any time. You only have to open the corresponding instance in ISPConfig.

Create PHP directive

If you want PHP to use the Redis database as session storage, you have to enter as in the individual php.ini settings. You can use ISPConfig for this – if nothing else is set, PHP will use the database 0 of the Redis instance for session storage.

In ISPConfig open the website and select the tab “Options”. Under “Custom php.ini settings” you only have to click on “[Redis Session Save Handler]”. Now the database 0 of the Redis instance is entered for PHP sessions.

More

Redis Documentation

 

PHP- and SQL-Profiling with Tideways

,

Your page loads too slow?

Our managed servers and web hosting packages are optimized for the maximum performance.

Nevertheless it happens occasionally that a website loads relatively long. In most cases the reason is not our servers, but the used CMS (e.g. a WordPress with 50 plugins).

If you have the impression that your site is built up too slowly, you can use Tideways to analyze very precisely what happens when.

Analyze with Tideways

Tideways uses PHP and SQL profiling to analyze the structure of the site and you can see when which PHP code is executed, how many database queries have taken place and how long they took. Additionally you can see which resources of the system are used most.

So you can quickly find bottlenecks in the loading time. By the way, Tideways supports several PHP frameworks and is therefore also a great help during development. The analysis of a page can look like this:

 

 

You can find more information about the features directly at Tideways.

Costs

You can try Tideways for 30 days for free and the trial period will not be extended automatically.
After the trial period you can continue to use the service for a fee.

Analyze your website with Tideways

To be able to analyze your website, you must first register with Tideways and then you can view the API key.

Set up Tideways for your website

Open the website and enter your API key and activate Tideways Profiling.

Under Tideways Service, Tideways Samplerate and Tideways Framework you do not need to make any entries.

As soon as you click on “Save” now, page views can be recorded and analyzed via Tideways.

Download Backup

,

You can not only restore the backups you configured in ISPConfig but also download them to your computer in a very comfortable way.

1. open backups

Open the tab Backup on a web page or an email box (in the text it is only the web page, but the function is comparable for an email box).

 

2. request download

Click on “Request Download” and the backup will be prepared for download. Usually the download will be available within a few minutes.

3. download backup

As soon as the backup can be downloaded, you will see the new button “Download backup”. The backup will then be available for 24 hours.

Spam-Report

,

On our Managed Servers you have the possibility to have a daily, weekly or monthly overview of all mails that are currently in your spam folder sent to you. All you have to do is to set the interval for a mailbox in the “Spam Report” tab.

This function is especially suitable for customers who retrieve their mails via POP3 and have spam moved to a separate folder, because via POP3 only the inbox is retrieved.

To move a spam mail to the Inbox (to read it via POP3 or because it is not spam), you have two options:

  • in the mail with the spam report you will find a link
  • in ISPConfig you can select every single mail and have it moved to your inbox

Note that some email programs have their own spam policies and may move a mail back into the spam folder themselves.

 

Using the search field you can filter individual mails, whereby the search value extends over all values.

Empty trash and spam automatically

,

Did you know that on our managed servers you can empty the trash and the spam folder automatically?

Just open the mailbox in ISPConfig and then you can set the duration how long mails should stay in the trash or in the spam folder under Mail Filter.

Set Staging Environment

,

If you want to make an update or adjustments to your website or shop, you can also test this in a staging environment, so that it won’t affect the live site if something goes wrong.

Individual Content Management Systems

Most CMSs allow a staging environment to be set up easily if a few data are set accordingly. For the following CMS this works fully automatically:

  • Joomla
  • Typo3
  • Magento 2
  • Shopware 5
  • Shopware 6
  • WordPress

If you are missing a CMS in the list, we are happy to implement it.

Set up staging environment

Open the website in ISPConfig and go to the tab “Staging”.

Under “Advanced” you can set further values:

Hostname for Staging – If you enter your domain test.com and you enter staging here, then the staging environment will be accessible at staging.test.com.

Username and Password – To secure the staging environment, you can enter a username and password here to access the staging environment.

To set up a staging environment, simply enable “Create Staging Now” and click “Save”. This will copy the complete website and the selected database and adjust the clones accordingly.

Access Staging Environment

Once the creation is complete, you can access the staging environment in the browser. If you have not specified a hostname, the URL is e.g. test.com/staging. If you have specified a hostname, the URL is e.g. staging.test.com

Configure PHP memory limit

,

Before we show you how you can individually set the PHP memory limit per customer and website on our full-managed servers, first a few informations:

Why do I need a PHP memory limit at all?

PHP always reserves a part of the RAM for executing scripts. How much RAM can be reserved for this is defined with the PHP memory limit.
If there would be no limit, a bad script could cause the memory to fill up slowly but surely, so that the speed of the web pages becomes much slower and in the end even the whole server can become unstable.

How high should the PHP memory limit be?

Unfortunately it is not possible to give a general answer.

It depends on which CMS you use and how many applications you have installed there. The values vary from 32 MB for a simple WordPress installation up to 512 MB for a complex shopware installation

For this reason we do not set such a high limit, so that any kind of CMS can get along with it (WordPress needs less than shopware).

Setting the PHP memory limit for a website

If you open the settings of a website ( similarly of course also for sub vhost and alias domain vhost), you can set the limit directly.

If you enter a 0 here, the limit is automatically set to the value of the server or to the value of the used webserver configuration, if you have also defined PHP settings here.

Please note that the “Individual php.ini settings” always have priority. If you have entered a different limit there, this value will be taken as long as it is not greater than the defined limit. The same applies to a memory limit that you have set in the direct (web server configuration).

Setting the PHP memory limit for a client

If you don’t want your customers to enter arbitrarily high values for their websites, you can also assign a limit to each customer. This limit behaves in the same way as the website memory limit: the customer can distribute “his” limit to all pages individually.

 

Set the compression for web pages

,

In the following we show you how you can set the compression of a website on our fully managed servers.

There are several options available to you:

  • Disabled
  • Gzip
  • Brotli
  • Brotli + Gzip

Compression with Brotli + Gzip is the default setting to compress smaller files directly when the website is delivered.Brotli is a newer type of compression developed by Google as an alternative to Gzip, Zopfli and Deflate. Google’s case study of Brotli has shown that the compression rates are up to 26% lower than other compressions and the CPU usage is also lower.
The server and the browser (visitor) must be compatible to Brotli and use an encrypted connection via https to benefit from compression.

If your website is delivered with Brotli compression, you can test on here.

You can see the compression levels of Gzip and Brotli for example here.