configuration

How to manually change the PHP version of a website or web application running in a PHP-FPM pool?

botond published 2024/02/17, Sat - 01:33 time
Using PHP-FPM (FastCGI Process Manager) to run web pages and web applications has many advantages, especially when compared to older techniques such as PHP running as an Apache module. One of the most important benefits is that PHP-FPM significantly improves performance and scalability by allowing finer-grained management and optimization of PHP processes. In this way, we can use the server's resources more efficiently, reduce the response time, and our system can remain stable even in the event of heavy traffic. However, over time, the PHP versions of our web applications may become outdated, which the various control panels do not update. In this description, we will see in a few steps how we can easily modify our manual settings so that our websites and web applications also work with the correct PHP version.

How to fix "dovecot: master: Error: socket() failed: Address family not supported by protocol" errors

botond published 2023/02/25, Sat - 08:03 time
After updating ISPConfig, not all services restarted. In this case, the Dovecot POP3/IMAP mail server and even Postfix threw warnings. Although we fixed these errors earlier, our settings were overwritten again during the ISPConfig update. In this troubleshooter, on the one hand, we fix "Address family not supported by protocol" type errors that cause the service to be inoperable, and we also make their permanent settings so that they remain even after further ISPConfig updates.

Server monitoring with Monit on Debian and Ubuntu systems (page 2)

botond published March 2023, 01, Thu - 26:02 time
Monit is a free and open source process and resource monitoring tool that can be used to monitor system processes and resources using a web browser and command line. Monit automatically stops or restarts processes or services if, for example, they use too many resources or behave abnormally. It also sends email alerts about various events.
On this page, we will perform some fine-tuning on an existing Monit instance (installed and configured by the ISPConfig automated installer) on a Debian 11 (Bullseye) perfect server to make it work properly for us.

Server monitoring with Monit on Debian and Ubuntu systems

botond published March 2023, 01, Thu - 26:02 time
Monit is a free and open source process and resource monitoring tool that can be used to monitor system processes and resources using a web browser and command line. Monit automatically stops or restarts processes or services if, for example, they use too many resources or behave abnormally. It also sends email alerts about various events.
On this page, we install the Monit system monitor program on a Debian 10 (Buster) perfect server version 1.1, where it was not used before, and then set it up.

How to set the default website on our ISPConfig server so that the Apache2 Debian Default page is not loaded when accessing the server's IP address or full hostname

botond published 2023/01/21, Sat - 00:20 time
Our ISPConfig server handles our websites nicely, however, if we refer to the server's IP address or full hostname in the browser, we do not get the expected result, because in this case the Apache2 Debian Default Page is loaded, which is essentially Apache's "welcome" page. Of course, this is not a tragic mistake, but a beauty mistake. In this description, we will see how we can configure our Apache web server so that the website we want is loaded.

How to enable the HTTP/2 protocol on our Apache based web server

botond published 2022/12/20, k - 02:50 time
The HTTP/2 or HTTP2.0 protocol enables faster web services with less data traffic. Although the protocol created in 2015 has been widespread for quite a few years, it is not turned on by default in the majority of web servers due to compatibility reasons. Among other things, it does not support the outdated mod_php Apache module, which in turn still operates many old websites, so enabling and enabling it is left to system administrators. In this short description, we will see how we can enable the use of the HTTP/2 protocol on Apache web servers that still use the old HTTP/1.1 protocol.

How to fix errors in the Security Policy for ImageMagick / Imagick Conversion Systems

botond published Jan. 2020, 09, 02:12 p.m. time
ImageMagick is a free and open source, cross-platform software package designed primarily for displaying, creating, converting, modifying, and editing raster images, but can also handle a variety of vector formats such as EPS (Encapsulated PostScript), AI (Adobe Illustrator) , PDF (Portable Document Format), etc. In total, it supports more than 200 image file formats. And Imagick is a native PHP extension that allows you to manage different image formats in a web environment using the ImageMagick API. In this quick troubleshooter, we take a look at how to fix errors from the software security policy with a little intervention.