jeudi 16 juin 2016

Laravel Installation/Configuration - Command Not Found

Trying to install Laravel on Ubuntu Server 14.04. After installing PHP 7 I enter:

curl -sS http://ift.tt/SI3ujS | php

I get: Composer successfully installed to: /home/ubuntu/composer.phar

sudo mv composer.phar /usr/local/bin/composer
composer

Works fine

composer global require "laravel/installer"

I get:

enter image description here

nano ~/.bashrc

I include this export PATH="~/.composer/vendor/bin:$PATH" at the very bottom.

sudo service apache2 restart

Restart it

laravel

I get: "laravel: command not found"

Why does it not understand the command laravel?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire