Month: February 2016

php-fpm memory usage quick optimization

The majority of php-fpm installations provide small personal sites (like this) and hosted on DigitalOcean-like VPS machines, which are, mostly, not very powerful. Anyway, it’s a good idea to tune the application server config to optimize server load (RAM, in this case). The main idea is to change the pm = dynamic option in /etc/php-fpm.d/

Continue Reading…

Categories: web

ownCloud full restore encrypted data without config.php

Few days ago I was struggled by broken ownCloud installation, where the app became malfunctional during the update due to updater tool, ignoring any attempts to change it’s configuration or do anything. The owncloud/config/ directory was also lost. The problem was that all data was encrypted, and ownCloud saves the salt hash in the config.php file,

Continue Reading…