Fix support php-fpm in production enviroment