Search max_children erros in PHP Log – error.log grep -r “server reached max_children setting” /var/log/*php*-fpm/error.log | cut -d’ ‘ -f5 | tr -d ‘]’ | sort | uniq -c | sort -nr Plesk check PHP: pm.max_children for varioius websites find /opt/plesk/php/ -type f -name “*.conf” -exec grep –color -Hni “pm.max_children =” {} \; Make cron … Read More “PHP FPM modification – Plesk” »
Category: General
General discussion forum
List of Security HTTP Headers: X-Frame-Options: // Raw header X-Frame-Options: sameorigin // How to send the response header with PHP header(“X-Frame-Options: sameorigin”); // How to send the response header with Apache (.htaccess) Header set X-Frame-Options “sameorigin” // How to send the response header with Express.js app.use(function(req, res, next) { res.header(“X-Frame-Options”, “sameorigin”); next(); }); X-XSS-Protection // … Read More “Security HTTP Headers” »
This information is largely available online; however, I’ve taken the time to compile a list of the common DNS servers here for your own reference. These servers do not belong to internet service providers but other companies ranging from Google, OpenDNS, DNS.Watch and several others. You can use a command such as Dig to query … Read More “Resolving Public DNS Server List” »
Prefork: The prefork MPM uses multiple child processes with one thread each. Each process handles one connection at a time. On many systems, prefork is comparable in speed to worker, but uses more memory. Prefork’s threadless design has advantages over worker in some situations: it can be used with non-thread-safe third-party modules, and it is … Read More “Apache Prefork versus Worker” »