install and configure nginx ubuntu php code example Example: install php linux nginx command line sudo apt update && sudo apt install php-fpm