Articles & Snippets

Search for content...
/

Start typing to search

Display property on Bootstrap 5

Posted by Cătălin on Tue, 4 Apr 2023

For faster mobile-friendly development, use responsive display classes for showing and hiding elements by device. Avoid creating entirely different versions of the same site, instead hide elements responsively for each screen size.

XS SM MD LG XL d-none d-sm-block hidden visible visible visible visible ...

Read More...
code

Is Apache is experiencing a DDoS attack?

Posted by Cătălin on Fri, 10 Mar 2023

How can I tell if Apache is experiencing a DDoS (Distributed Denial-of-Service) attack?

If Apache is experiencing a DDoS attack, you may notice that your server's Web sites are timing out when loading. You may also observe errors like these in the Apache error log: [Wed Aug 05 21:33:21.543968...

Read More...
code

MaxRequestWorkers for Apache

Posted by Cătălin on Fri, 10 Mar 2023

Tune Apache's MaxRequestWorkers setting to mitigate the risk of resource usage problems

It is essential to tune Apache's MaxRequestWorkers setting to mitigate the risk of resource usage problems that could lead to a crash and to ensure that your server can use the resources available to it...

Read More...
code

PHP-FPM Limit Tuning Basics for Max Children

Posted by Cătălin on Fri, 10 Mar 2023

This resource provides information about tuning the Max Children limit for PHP FPM.

Checking the PHP-FPM Logs for Max Children Limit Hits Access your server as the root user via Terminal or SSH Run the following command to find the FPM logs: find /opt/cpanel/ea-php*/root/usr/var/log/php-fpm/...

Read More...
code

CSF SSH Command Line Commands

Posted by Cătălin on Fri, 3 Jan 2020

ConfigServer Firewall (CSF) SSH command line commands in a "cheat sheet" format.

Command Description Example csf -e Enable CSF ...

Read More...
code

Renew Let's Encrypt certificate

Posted by Cătălin on Wed, 27 Nov 2019

Let's encrypt error certificate install error - “Client with the currently selected authenticator does not support any combination of challenges”

certbot --authenticator standalone --installer apache -d your-domain.com \ --pre-hook "systemctl stop apache2" \ --post-hook "systemctl start apache2"

Read More...
code