Case study: managing my web infrastructure

For my main web related needs I am using two VPSes – one acting in a production role and the other one as staging + some other tasks (periodic or one-time runs like the PHP statistics generation, automatic builds from git repositories, monitoring, etc).My computer, which runs Ubuntu, acts as a dev machine.Key concern #1: […]
Continue reading

PHP Statistics – Top 200 GitHub Projects (Nov 2015)

Below there are some stats regarding the function/method/variable/property/class names and calls after I’ve analyzed the source code of the most starred PHP projects from github.com. A detailed version can be found at https://blog.corneliupr.com/ghstats/201511/. FilesFiles analyzed: 68,921 Files with invalid (PHP 5.6) syntax: 66 Distinct file names: 33,867 PSR-2 compliant: 36,660 (53.191%) Files containing classes: 39,635 […]
Continue reading

Restricting Apache2 virtual host access only to a VPN

On one of my servers I run side-by-side an Apache2 webserver and an OpenVPN installation, both using the same public IP. In order to improve the overall security and to negate the security holes that might exist in some of the tools I am using (database administration like phpMyAdmin, various system monitoring tools which provide […]
Continue reading