I’m not sure what you mean. Please explain your hosting environment.
I mean for setting up VPS running Centos 7.
You will need mod_rewrite (which is installed by default when you install httpd) and mod_php. However, I strongly recommend you use php_fpm as it provides a better level of security and control.
https://wp-root.org/server/install-php-fpm-tcp-unix-sockets-centos/
Also, use the ius repo to get PHP 7
https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-centos-7
A sample of my config files are here:
https://gist.github.com/sterndata/55bac4f1d833421203cff7816e2f5276
Thanks for your assist! I am using PHP 7.1 and I ask for the extensions like gd, mysql etc.
Another question that popped is this the right setting of httpd.conf?
<Directory /var/www/html>
AllowOverride All
</Directory>
because I still get error 404 when I update permalink settings. The .htaccess file is setup properly with write privileges.
Assuming your wordpress install is in /var/www/html, you’ll need that either in .htaccess or in your httpd config file for that virtual host.
install gd, php-gd, ImageMagick, and mariadb