Alter Column Type for Mysql without downtime
We did this by using pt-online-schema-change 1. Since we are using RDS with Read Replica, and the tool require log_bin_trust_function_creators = 1, we did a failover to Read Replica, modifying parameter group of Master, reboot Master, then failback to Master...
Letsencrypt failed to renew
We were getting this letsencrypt renewal error on some Ubuntu 16.04 machines: OSError: Command /opt/eff.org/certbot/venv/bin/python2.7 – setuptools pkg_resources pip wheel failed with error code 1 Googling around, hit a few walls and finally found the solution, just need to run...
Scaling PHP CMS in AWS
There’s two major challenge when scaling a traditional CMS like Prestashop / Drupal: – Centralized session – File storage synchronized – Isolate Backend traffic to a single instance Let’s dive into details for each of them: Centralized Session This...
Free malicious script scanner – AI-Bolit
It’s been a common issue for PHP sites especially unpatched CMS like WordPress / Magento becoming a victim of web defacement, where hackers have uploaded malicious codes into the application, hidden in the PHP / CSS / JS / HTML...