Allow easier override of the attribute when these packages are not required.
Bugfix: ensure the socket of the php-fpm user is used.

cc @gusano @darshanbib
Ensure that when cert.key and .pem are present, the nginx is not shut down.