This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "Enter the php version you want to Disable:" | |
| read disabledVersion | |
| echo "Enter the php version you want to Enable:" | |
| read enabledVersion | |
| sudo a2dismod php${disabledVersion} | |
| sudo a2enmod php${enabledVersion} | |
| sudo service apache2 restart | |
| # or | |
| sudo service nginx restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PATH_TO_MAGENTO='/path/to/magento/installation/folder' | |
| GITHUB_TOKEN='github-token-here' | |
| MAGENTO_USER='your-key-here' | |
| MAGENTO_PASS='your-pass-here' | |
| MAGENTO_ADMIN_URL='http://your-server.com' | |
| MAGENTO_ADMIN_USER='admin' | |
| MAGENTO_ADMIN_PASS='admin123' | |
| # ondrej best php apt-repository for php to be able to | |
| # update and install PHP as needed |