Fix the problem to run the project under php-fpm