WordPress – Error with homepage

Solution:

1.Include /etc/nginx/mime.types;
in nginx.conf (if nginx then only)

2.phpfpm and its php.ini configuration,
/etc/php/{version}/fpm/php.ini