Categories
Linux Servers Useful

Solved! WARNING: [pool ***] server reached max_children, consider raising it

If you encounter such an error in the php logs, then it is time to modify max_children. The php logs are usually located in /var/log/,  and in my case they are in /var/log/php7.4-fpm.log WARNING: [pool ********] server reached max_children setting (8), consider raising it Search for the file where the max_children variable is located, in my case […]

Categories
Linux Servers Useful Wordpress

Automatically Kill php-fpm or apache2 process with the High CPU in Linux

Once again I needed a solution to kill php-fpm or apache2 process with the high CPU usage and considering that I am not at the first similar problem I said that it is good to write it again somewhere, not to forget it. And this time the problem appeared with sites in Wordpress, it is a […]

Categories
Linux PHP Servers

Where is the php.ini configuration and enabled PHP modules? – Ubuntu Server

PHP configuration folders is usually in /etc/php/ and the installed version, in my case is in /etc/php/7.4/ The active version can be found with the following command in Ubuntu (ubuntu 20.04 for my case): @ php -version PHP 7.4.13 (cli) (built: Dec 10 2020 08:08:23) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) […]