Skip to content

Instantly share code, notes, and snippets.

@alexleventer
Last active August 29, 2015 14:21
Show Gist options
  • Save alexleventer/a3ade0515844ed8f01f7 to your computer and use it in GitHub Desktop.
Save alexleventer/a3ade0515844ed8f01f7 to your computer and use it in GitHub Desktop.
PHP Ubuntu Distelli Manifest Provision
<username>/PHPUbuntuPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: Ubuntu
Env:
- PORT: "8006"
PkgInclude:
- simpleapp.php
PreInstall:
- echo "Beginning PreInstall"
- sudo apt-get install php5-cli
Exec:
- 'php -S 0.0.0.0:$PORT simpleapp.php'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment