标签:
在win7下运行composer,安装asset插件时,出现SSL报错:
D:\data\www\mmoyu\symapp>composer global require "fxp/composer-asset-plugin:1.0.0"
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: SSL
operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
Failed to enable crypto
failed to open stream: operation failed
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-p
lugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--ver
bose] [-o|--optimize-autoloader]
没有安装CA证书导致的!!!
CA证书下载地址:http://curl.haxx.se/docs/caextract.html
然后修改php.ini文件 增加
openssl.cafile= D:/wamp/php/verify/cacert.pem
就OK了~
标签:
在win7下运行composer,安装asset插件时,出现ssl报错:
d:\data\www\mmoyu\symapp>composer global require "fxp/composer-asset-plugin:1.0.0"
loading composer repositories with package information
[composer\downloader\transportexception]
the "https://packagist.org/packages.json" file could not be downloaded: ssl
operation failed with code 1. openssl error messages:
error:14090086:ssl routines:ssl3_get_server_certificate:certificate verify
failed
failed to enable crypto
failed to open stream: operation failed
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-p
lugins] [--no-custom-installers]...0: operation failed
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-p
lugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--ver
bose] [-o|--optimize-autoloader]
没有安装ca证书导致的: ssl
operation failed with code 1.org/packages://packagist,出现ssl报错;
loading composer repositories with package information
[composer\.ini文件 增加
openssl:1.haxx.cafile= d.se/docs/caextract;wamp/:
d:14090086!!
ca证书下载地址:ssl routines;https.org/packages,安装asset插件时:\://packagist:certificate verify
failed
failed to enable crypto
failed to open stream标签.html" target="_blank">http;php/symapp>. openssl error messages;downloader\data\:ssl3_get_server_certificate:
Photoshop|
Dreamweaver|
SVG|
WebGL|
Visual Studio|
PowerDesigner|
Eclipse|
Git|
Apache Ant|
Atom|
Composer|
CodeSmith|
Flex|
Gradle|
Maven|
Sublime Text3|
SVN|
Tableau|
Vim|
Chrome开发者工具|
OpenGL|
Unity|
Direct3D|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....