Home >Development Tools >composer >About the solution when composer installs the package
The following tutorial column of composer will introduce to you the solutions when installing the composer package. I hope it will be helpful to friends in need!
#1. Error 1Loading composer repositories with package information Updating dependencies (including require-dev)2. Error 2
[Composer\Downloader\TransportException] Content-Length mismatch3. Various problems will occur when installing tp6 using composer create-project official command
1. Remove openssl parsing in php.ini
2, replace the domestic image E:\phpstudy2018\PHPTutorial\php\php-5.6.27-nts\php.exe composer.phar config -g repo.packagist composer https://packagist .phpcomposer.com
3. Use composer.phar to operate
E:\phpstudy2018\PHPTutorial\php\php-5.6.27-nts\php.exe composer.phar instead of composer
It will no longer be used tp6, change to tp5.1.37
The above is the detailed content of About the solution when composer installs the package. For more information, please follow other related articles on the PHP Chinese website!