我有另一个设备上的项目,当我尝试在设备上安装时出现错误

时间:2019-11-21 06:02:57

标签: laravel laravel-5 composer-php laravel-5.8

如果我这样做composer install,则会发生:

  

PHP警告:未捕获的ErrorException:   要求(C:\ xampp \ htdocs \ multitech \ taskmanagment \ vendor \ composer /../ symfony / polyfill-php72 / bootstrap.php):   无法打开流:无此文件或目录       C:\ xampp \ htdocs \ multitech \ taskmanagment \ vendor \ composer \ autoload_real.php:66中的目录       堆栈跟踪:       #0 C:\ xampp \ htdocs \ multitech \ taskmanagment \ vendor \ composer \ autoload_real.php(66):   Composer \ Util \ ErrorHandler :: handle(2,'require(C:\ xamp ...',   'C:\ xampp \ htdocs ...',66,数组)

1 个答案:

答案 0 :(得分:0)

检查您的.htaccess文件,也许您在cpanel上载时更改了代码

Options +FollowSymLinks -Indexes
RewriteEngine On

RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

也请参阅此doc