Fix undefined variables in nginx and php manifests