Skip to content

Instantly share code, notes, and snippets.

@alexleventer
Created May 14, 2015 19:15
Show Gist options
  • Save alexleventer/9d7d8def47c1e4599d77 to your computer and use it in GitHub Desktop.
Save alexleventer/9d7d8def47c1e4599d77 to your computer and use it in GitHub Desktop.
PHP CentOS Distelli Manifest
<username>/PHPCentOSSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: CentOS
# Installed Packages:
# php >= 5.0 [sudo yum install php]
#
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