Testing SSL on the Commandline

This is a useful one for testing dovecot when setting up SSL: openssl s_client -connect localhost:993 -quiet If you get a ‘Connection Refused’, you have my permission to swear loudly. For me, the C bomb echoed around these four walls several times.

Enable HTTP2 in Apache

HTTP/2 is the second major version of the HTTP protocol used by web servers. It is based on Google’s SPDY protocol. It is the first new version of HTTP since HTTP 1.1, which was standardised way back in 1997. By the end of 2015, most major bowsers (Chrome, Opera, … Continue readingEnable HTTP2 in Apache

PHP Error Reporting

If PHP is not reporting errors within an application (say for example a built-in error handler, or suppression), the following can be added to Apache’s vhost file: php_admin_value error_reporting 6135 php_admin_value display_errors 1 However, if you do not have access to the vhost, the following … Continue readingPHP Error Reporting