如果我这样做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,数组)
答案 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