浏览文章

文章信息

Fatal error: require(): Failed opening required 'Composer/autoload.php' (include_path='.:') in /usr/bin/composer 13403

报错:

Fatal error: require(): Failed opening required 'Composer/autoload.php' (include_path='.:') in /usr/bin/composer


解决:

1、查看composer位置:dpkg -L composer

/usr/share/php

2、找到php.ini

3、找到include_path.

添加

include_path='/usr/share/php';


4、保存即可

原创