Hoe PHP 7 te installeren. x op CentOS 8
- Open de terminal-app en log in op de externe CentOS 8-server.
- Update CentOS 8 box, voer sudo yum update uit.
- Zoek naar PHP-versie, voer sudo yum search php uit.
- Installeer PHP 7.2.11 of 7.4 en FastCGI-module voor Nginx op CentOS 8, voer uit: sudo yum install php php-fpm.
- Configureer Nginx om PHP te gebruiken.