- sudo add-apt-repository ppa:ondrej/php
- sudo apt-get install php5.6-xml
- sudo apt-get install php5.6-soap
- sudo apt-get install php5.6-xdebug
- sudo apt-get install php5.6-mbstring
- sudo apt-get install php5.6-mysql
- sudo apt-get install php5.6-tidy
- sudo apt-get install php5.6-curl
- sudo apt-get install php5.6-gd
- sudo apt-get install php5.6-intl
- sudo apt-get install php5.6-mcrypt
- sudo apt-get install php7.0-intl
- sudo apt-get install php7.0-mbstring
- sudo apt-get install php7.0-mysql
- sudo apt-get install php7.0-xml
- sudo apt-get install php7.0-curl
- sudo apt-get install php7.0-gd
- sudo apt-get install php7.0-tidy
- sudo apt-get install php7.0-mcrypt
- sudo apt-get install php7.1-intl
- sudo apt-get install php7.1-mbstring
- sudo apt-get install php7.1-mysql
- sudo apt-get install php7.1-xml
- sudo apt-get install php7.1-curl
- sudo apt-get install php7.1-gd
- sudo apt-get install php7.1-tidy
- sudo apt-get install php7.1-mcrypt
- sudo a2dismod php5.6
- sudo a2enmod php7.0
- sudo service apache2 restart
- sudo update-alternatives --set php /usr/bin/php7.0
- sudo a2dismod php7.0
- sudo a2enmod php5.6
- sudo service apache2 restart
- sudo update-alternatives --set php /usr/bin/php5.6
- date.timezone = 'Pacific/Auckland'
- sudo chown {username}:www-data . -R
- sudo a2enmod rewrite
- SS_DATABASE_CLASS="MySQLDatabase"
- SS_DATABASE_SERVER="localhost"
- SS_DATABASE_USERNAME="root"
- SS_DATABASE_PASSWORD="password"
- SS_DATABASE_CHOOSE_NAME="true"
- SS_ENVIRONMENT_TYPE="dev"
- SS_DEFAULT_ADMIN_USERNAME="admin"
- SS_DEFAULT_ADMIN_PASSWORD="password"
Type and copy output: cat ~/.ssh/id_rsa.pub