macOS Sierra Errors and Fixes

Updating to a new OS has always been a pain for any OS. Mac is no different. A couple of days ago, updated the mac OS from OS X El Capitan (10.11) to macOS Sierra (10.12). Mostly the update seemed okay. However, I did receive a few hiccups after the recent update. Here's the list … Continue reading macOS Sierra Errors and Fixes


PHP user.ini file

If you don't use ".user.ini" file (or if you don't know what it does), disable it to improve the performance of PHP processes!

Display Active Conf in php-fpm pool

Php-fpm pool configuration contains 400+ lines (for example in Ubuntu 16.04). In reality, we may use only about 20 lines or less than 5% of the file. The original configuration file contains lines that explains what each config does. It is good practice to have inline documentation. In certain cases, we may want to know what lines are … Continue reading Display Active Conf in php-fpm pool

systemctl automatically restart service

References: Ensure systemd services restart on failure by Jon Archer php-fpm systemd unit with auto-restart by Juan Luis Boya García systemd Project Web Page systemd is a system and service manager that runs as PID 1 and starts the rest of the system and services. The main command used to introspect and control systemd is systemctl. Basically … Continue reading systemctl automatically restart service