Skip to content

Instantly share code, notes, and snippets.

@alexleventer
Last active August 29, 2015 14:21
Show Gist options
  • Save alexleventer/8503d44f7bd8b403a25a to your computer and use it in GitHub Desktop.
Save alexleventer/8503d44f7bd8b403a25a to your computer and use it in GitHub Desktop.
PHP Ubuntu Distelli Manifest
<username>/PHPUbuntuSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: Ubuntu
# Installed Packages:
# php >= 5.0 [sudo apt-get install php5-cli]
#
Env:
- PORT: "8006"
PkgInclude:
- simpleapp.php
PreInstall:
- echo "Beginning PreInstall"
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