How slow is FOUND_ROWS function in MySQL

From many different reasons I was always using SQL_CALC_FOUND_ROWS to get total number of records, when i was running limited query. Never especially thought about it, until i had some super performance issues with one...

How to handle max_input_vars restriction.

From time to time we could breach max_input_vars restriction. Which basically limittation for server which allows only limited number of input server to reach out server. Usually this number is around 1000. In this short...

PHP 7 on AMI Linux (EC2)

PHP 7.0.0 just came out. Obviously I want to try it out on my EC2 instance. We are going to use Remi’s repo. Here you can find quick reciepie: