how to install php for nginx code example Example: install php linux nginx command line sudo apt update && sudo apt install php-fpm