Laravel 5.5 at Codeanywhere
If you want to develop a Laravel 5.5 application at a codeanywhere container, you may follow the instructions below:
Create a PHP7 CentOS 6.5 container
Update system packages:
sudo yum update
Update composer:
sudo composer self-update
Install Laravel at root of container:
composer create-project laravel/laravel basicwebsite
Create your app (in this case ‘myapp’):
composer create-project laravel/laravel myapp
Install nano editor:
sudo yum install nano
Update system packages
sudo apt-get update
sudo apt-get upgrade
Press “Enter” when this message appears:
Configuration file '/etc/cron.daily/upstart'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** upstart (Y/I/N/O/D/Z) [default=N] ?
Press “Enter” when this message appears:
Configuration file '/etc/rsyslog.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** rsyslog.conf (Y/I/N/O/D/Z) [default=N] ?
Install software-properties-common:
sudo apt-get install software-properties-common
Add repository:
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.1