Compatibility fix for newer php5-fpm version