没有不值得去解决的问题,也没有不值得去学习的技术!

基于 Composer 安装:JamesHeinrich / getID3,提示 ( SSL:握手超时;无法启用加密;无法打开流:操作失败 ) 的解决

参考网址:https://www.shuijingwanwq.com/2019/12/28/3784/ ,在 cmd 中设置 HTTP 代理,再次执行安装命令,安装成功
1、getID3() 是一个 PHP 脚本,可从 MP3 和其他多媒体文件格式中提取有用的信息。打开网址:https://github.com/JamesHeinrich/getID3 2、基于 Composer 安装:JamesHeinrich / getID3。打开 PHP 软件包存储库的网址:https://packagist.org ,搜索:JamesHeinrich / getID3 ,得出搜索结果:james-heinrich/getid3,如图1
基于 Composer 安装:JamesHeinrich / getID3。打开 PHP 软件包存储库的网址:https://packagist.org ,搜索:JamesHeinrich / getID3 ,得出搜索结果:james-heinrich/getid3
图1
3、在 PowerShell 中,执行安装命令:composer require james-heinrich/getid3,提示 ( SSL:握手超时;无法启用加密;无法打开流:操作失败 ),如图2
在 PowerShell 中,执行安装命令:composer require james-heinrich/getid3,提示 ( SSL:握手超时;无法启用加密;无法打开流:操作失败 )
图2


PS E:\wwwroot\channel-pub-api> composer require james-heinrich/getid3
The "https://asset-packagist.org/packages.json" file could not be downloaded: SSL: Handshake timed out
Failed to enable crypto
failed to open stream: operation failed
https://asset-packagist.org could not be fully loaded, package information was loaded from the local cache and may be ou
t of date
Using version ^1.9 for james-heinrich/getid3
./composer.json has been updated
Loading composer repositories with package information
The "https://asset-packagist.org/packages.json" file could not be downloaded: failed to open stream: HTTP request failed
!
https://asset-packagist.org could not be fully loaded, package information was loaded from the local cache and may be ou
t of date
Updating dependencies (including require-dev)
^CTerminate batch job (Y/N)? Y


4、参考网址:https://www.shuijingwanwq.com/2019/12/28/3784/ ,在 cmd 中设置 HTTP 代理,再次执行安装命令,安装成功,如图3
参考网址:https://www.shuijingwanwq.com/2019/12/28/3784/ ,在 cmd 中设置 HTTP 代理,再次执行安装命令,安装成功
图3


E:\wwwroot>cd channel-pub-api

E:\wwwroot\channel-pub-api>set HTTP_PROXY=http://127.0.0.1:50999

E:\wwwroot\channel-pub-api>set HTTPS_PROXY=http://127.0.0.1:50999

E:\wwwroot\channel-pub-api>composer require james-heinrich/getid3
Using version ^1.9 for james-heinrich/getid3
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing james-heinrich/getid3 (v1.9.19): Downloading (100%)
james-heinrich/getid3 suggests installing ext-com_dotnet (COM extension is required when loading files larger than 2GB on Windows.)
james-heinrich/getid3 suggests installing ext-dba (DBA extension is required to use the DBA database as a cache storage.)
james-heinrich/getid3 suggests installing ext-exif (EXIF extension is required for graphic modules.)
james-heinrich/getid3 suggests installing ext-mysql (MySQL extension is required to use the MySQL database as a cache storage (deprecated in PHP 5.5, removed in PHP >= 7.0, use `ext-mysqli` instead).)
james-heinrich/getid3 suggests installing ext-rar (RAR extension is required for RAR archive module.)
james-heinrich/getid3 suggests installing ext-SimpleXML (SimpleXML extension is required to analyze RIFF/WAV/BWF audio files (also requires `ext-libxml`).)
james-heinrich/getid3 suggests installing ext-sqlite3 (SQLite3 extension is required to use the SQLite3 database as a cache storage.)
Package codeception/base is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating autoload files



需要长期技术维护或远程问题排查?

我是拥有 15+ 年经验的 PHP / Go 后端工程师,长期关注已有系统维护、Bug 修复、性能优化、服务器排查、WordPress 网站维护和小功能迭代。

如果你的项目遇到以下情况,可以先从一次小问题排查开始合作:

  • ✅ PHP / Laravel / Yii2 老项目无人维护
  • ✅ Go / Gin 后端接口需要排查或优化
  • ✅ WordPress 网站访问慢、报错或插件冲突
  • ✅ Nginx / MySQL / Redis / Linux 服务器异常
  • ✅ CDN / Cloudflare / DNS / HTTPS 配置问题
  • ✅ 需要长期远程技术支持或兼职维护

更多介绍请查看:关于我 & 合作

微信:13980074657
邮箱:shuijingwanwq@gmail.com
Telegram:@shuijingwan
GitHub:https://github.com/shuijingwan

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理