Showing posts with label apt-get. Show all posts
Showing posts with label apt-get. Show all posts
Wednesday, October 17, 2018
Solution To: Laravel 5 Failed opening required bootstrap/../vendor/autoload.php
PROBLEM:
Laravel 5 Failed opening required bootstrap/../vendor/autoload.php
SOLUTION:
...
When the new project created the laravel require to load vendors to autoload the libraries , We need to tell composer to update via command:
composer update
Composer is a dependency manager allows you to delegate responsibility for managing your dependencies to a third party.
In some cases, you need to tell composer to install first via ommand:
composer install
If this does not solve the problem, make sure the following php modules are installed php-mbstring php-dom
To install this extensions run the following in terminal
sudo apt-get install php-mbstring php-dom
once the installation is complete
try running the command in your project root folder
composer install
REFERENCE:
https://stackoverflow.com/questions/28468625/laravel-5-failed-opening-required-bootstrap-vendor-autoload-php
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
Subscribe to:
Posts (Atom)
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)