Wednesday, October 17, 2018

Solution To: CodeEnvy Laravel 5.6 which requires PHP 7.1.3 or higher, but the recipe installs PHP 7.0.


PROBLEM:
When you use the eclipse/php:laravel recipe, it installs Laravel 5.6 which requires PHP 7.1.3 or higher, but the recipe installs PHP 7.0.


SOLUTION:
The temporary solution is to manually install PHP 7.2:

sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get purge php7.0 php7.0-common
sudo apt-get install php7.2-curl php7.2-xml php7.2-zip php7.2-gd php7.2-mysql php7.2-mbstring

REFERENCE:
https://github.com/codenvy/codenvy/issues/2673

No comments:

Post a Comment

Labels