Skip to content

Instantly share code, notes, and snippets.

@jez500
Last active June 13, 2019 04:39
Show Gist options
  • Save jez500/9fa9fa77abc39df9153c3a86e395478b to your computer and use it in GitHub Desktop.
Save jez500/9fa9fa77abc39df9153c3a86e395478b to your computer and use it in GitHub Desktop.
Drush 9 alias example with php binary specified
production:
options: { }
root: '/home/mysite/www/docroot'
uri: 'mysite.example.com'
host: mysite.example.com
user: mysite
ssh:
options: '-p 22' # Change SSH Port
paths:
drush-script: /home/mysite/www/vendor/drush/drush/drush.php
dump-dir: /tmp
php: /opt/cpanel/ea-php72/root/usr/bin/php # Cpanel alternate PHP version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment