curl:
    pkg.installed:
        - pkgs:
            - curl
            - libcurl3
            - libcurl3-dev
            - php5-curl

php5-cli:
    pkg.installed

php5-fpm:
    pkg.installed:
        - name: php5-fpm
    service.running:
        - enable: True
    require:
        - pkg: curl

php5-mysql:
    pkg.installed

/etc/nginx/conf.d/php-upstream.conf:
    file.managed:
        - source: salt://nginx/conf.d/php-upstream.conf
        - user: root
        - group: root
        - mode: 644

curl:
    pkg.installed:
        - pkgs:
            - curl
            - libcurl4-openssl-dev
            - php-curl

php-cli:
    pkg.installed

php-fpm:
    pkg.installed:
        - name: php-fpm
    service.running:
        - name: php7.0-fpm
        - enable: True
    require:
        - pkg: curl

php-mysql:
    pkg.installed

/etc/nginx/conf.d/php-upstream.conf:
    file.managed:
        - source: salt://nginx/conf.d/php-upstream.conf
        - user: root
        - group: root
        - mode: 644

Update PHP packages for Ubuntu 16.04
Update PHP packages for Ubuntu 16.04

Names have changed slightly

EliRibble/webserver-salt-masterless,EliRibble/webserver-salt-masterless