Autor Tópico: Laravel | Ubuntu 16.04 & PhP7.0  (Lida 1827 vezes)

Offline novatoBR

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Laravel | Ubuntu 16.04 & PhP7.0
« Online: 09 de Setembro de 2016, 15:27 »
estava seguindo esse tutorial para criar um ambiente de desenvolvimento web no ubuntu : https://www.youtube.com/watch?v=Q2N5blJ4VIo

Estou usando o Ubuntu 16.04 e o Php7.0 e tive um problema no finalzinho na parte de do comando :

 php artisan migrate

dá o seguinte erro :
PHP Warning: require(/home/mtx/vhosts/teste.app/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/mtx/vhosts/teste.app/bootstrap/autoload.php on line 5 PHP Fatal error: require(): Failed opening required '/home/mtx/vhosts/teste.app/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/mtx/vhosts/teste.app/bootstrap/autoload.php on line 5

 esse é o o arquivo (autoload.php) que do erro:
01 <?php
02
03 define('LARAVEL_START', microtime(true));
04
05 require _DIR_.'/../vendor/autoload.php';
06
07 $compiledPath = _DIR_.'/cache/compiled.php';
08
09 if (file_exists($compiledPath)) {
10 require $compiledPath;
11 }


se alguém puder me ajudar, agradeço.