Showing posts with label codenvy. Show all posts
Showing posts with label codenvy. Show all posts

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

Labels

apt-get (2) bash (4) Chrome (1) CMS (1) code-igniter (1) codenvy (1) composer (6) eclipse che (1) error (4) file-permission (1) firebase (2) Free PHP Hosting (11) FuelPHP (3) git (4) jwt (1) laravel (10) mysql (1) OpenShift (1) php (11) PHP Eclipse (9) PHP Joomla (2) PHP Laravel (4) PHP Yii (9) PHP-JBOSS (2) php-jwt (2) PHP-Wordpress (8) plain php (1) Postman (1) REST (2) sqlite (1) sudo (1) visual-studio (4) xampp (4)