Apache

Az Apache web server related articles, tutorials collection

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.

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 "AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error." types of Apache errors?

botond published March 2022, 09, Thu - 22:16 time
.htaccess files are very useful accessories for the Apache web server, with the effective use of which we can solve many problems. However, in the case of a more complex server configuration, we need to pay attention to several things, otherwise we can easily generate Apache errors.
In this troubleshooter, we deal with redirects, where in certain situations we can end up in an endless redirect cycle, which eventually results in "AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error." leads to content errors.

Debian 11 (Bullseye) LAMP server v1.0 installation

botond published 2022/09/06, k - 17:12 time
With the help of LAMP systems, we can run dynamic websites on our server or even on our home computer. In this description, we will create a LAMP server on the Debian 11 (Bullseye) operating system, on which the following components will be installed: Apache 2.4.54, MariaDB 10.5.15, PHP 7.4 and phpMyAdmin 5.0.4, UFW firewall.

a2query

Manual page and help for the a2query linux command. The a2query command is a tool written in Perl that allows you to query the runtime configurations of an Apache 2 HTTP server.