SSL/TLS Strong Encryption: How-To # “Modern” configuration, defined by the Mozilla Foundation’s SSL Configuration # Generator as of August 2016. This tool is available at # SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 # Many ciphers defined here require a modern version (1.0.1+) of OpenSSL. Some # require OpenSSL 1.1.0, which as of this writing was in pre-release. SSLCipherSuite […]

How to Setup Apache2 (HTTPD) with FastCGI and PHP on CentOS/RHEL 6/5

  yum install mod_fastcgi Loaded plugins: fastestmirror, replace Setting up Install Process Loading mirror speeds from cached hostfile * base: * epel: * extras: * rpmforge: * updates: * webtatic: Resolving Dependencies –> Running transaction check —> Package mod_fastcgi.x86_64 0:2.4.6-2.el5.rf will be installed –> Finished Dependency Resolution Dependencies Resolved […]

mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php5

[Fri Jan 30 10:47:40 2015] [error] mod_hostinglimits:Error on LVE enter: LVE(508) HANDLER(fcgid-script) HOSTNAME( URL(/index.php) TID(714206) errno (7) Read more: [Fri Jan 30 10:48:19 2015] [warn] [client] mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php5 Also, make sure you monitor apache error logs. If you see “can’t apply process slot for error” — it means […]

Apache tuning

ps aux | awk ‘{sum1 +=$4}; END {print sum1}’ /usr/local/bin/ ps -ylC httpd | awk ‘{x += $8;y += 1} END {print “Apache Memory Usage (MB): “x/1024; print “Average Proccess Size (MB): “x/((y-1)*1024)}’