在Windows10上运行composer self-update时出现错误
下面是完整的错误消息
composer self-update
Updating to version 1.8.4 (stable channel).
Downloading (100%)
[RuntimeException]
SHA384 is not supported by your openssl extension, could not verify the phar file integrity
我正在运行PHP 7.3.2,这可能是什么问题?
当我使用SHA1曲线时,我需要稍微澄清一下为什么openssl在ECC中使用secp384r1,但是在rfc中,他们说我们应该使用SHA2。
这里的内容是在我的DTLS中使用nanoECC,nanoECC使用SHA384 for secp384r1,但是openssl使用的是SHA1。那么,如果openssl是错误的,那么如何将openssl设置为使用SHA384进行secp384r1曲线。
如何安装Soap?
我得到了这个错误:
致命错误:在第16行的/home/user/mysite.com/path/to/file.php中找不到类'SoapClient‘
我用DreamHost托管我的网站,他们不支持任何第三方安装。
更新:
我使用以下脚本复制了php.ini文件:http://sxi.sabrextreme.com/dh-phpini
我正在使用一个来自网站的API,它是这样写的:
#######################################################################
## You need to enab
composer create-project flarum/flarum . --stability=beta
我试着运行这个命令,但是它给了我这个错误。
[RuntimeException]
The openssl extension is required for SSL/TLS protection but is not availab
le. If you can not enable the openssl extension, you can di
我正在尝试作曲家的更新,但上面写着:
composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- tymon/jwt-auth 0.5.1 requires namshi/jose 2.2.* -> satisfiable by nam
当我试图在CLI中运行composer install时,我会得到以下错误:
You must enable the openssl extension to download files via https
问题似乎出现在我的composer.phar文件的第5381行:
if (!extension_loaded('openssl') && (0 === strpos($url, 'https:') || 0 === strpos($url, 'http://github.com'))) {
throw new \Ru
我正在测试openssl是否已启用并返回密钥。尽管启用了openssl,但它不会恢复密钥。尝试安装TYPO3时出现错误信息。
if (extension_loaded('openssl')) {
$testKey = @openssl_pkey_new();
if (is_resource($testKey)) {
} else {
echo ' Please check the integration of the PHP OpenSSL extension and if it is installed correctly.'
https://www.rfc-editor.org/rfc/rfc6637为OpenPGP定义了ECDSA,自2.1版以来,https://wiki.gnupg.org/ECC在GnuPG中列出了椭圆曲线支持
我有2.2.25版本,它列出了ECDSA作为支持的算法:
$ gpg --version
gpg (GnuPG) 2.2.25-unknown
libgcrypt 1.8.7
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free
我们有一个全新的We服务器,我们在其中安装了Apache,然后是PHP,将其指向Apache的conf目录,并安装所有可选组件。我现在正在尝试让MySQL连接,但它拒绝。我的PHP.ini将模块列为未注释模块,并且它位于我的扩展目录设置的目录中,但我一直收到:
Fatal error: Call to undefined function mysql_connect() in C:\apache\htdocs\index.php on line 8
我安装了:
PHP: VC9 x86 Thread Safe (2011-Mar-22 13:27:32)
Apache: Apache 2.2
我会升级opessl上的ubuntu14.04,配置和make都是接班人,但是运行make失败了,可以继续安装吗?
make测试错误日志:
../test/recipes/05-test_md2.t .............. skipped: md2 is not supported by this OpenSSL build
../test/recipes/05-test_rc5.t .............. skipped: rc5 is not supported by this OpenSSL build
../test/recipes/30-test_afalg.t ....
还有一些教程展示了如何向证书签名请求(CSR)添加属性(如subjectAltName-extension)。例如,在创建CSR时,我就是这样枚举有效别名的:
aliases.each do |a|
alist << ("DNS:#{a}")
alist << ("IP:#{a}") if IPAddress.valid? a
end
extension = OpenSSL::X509::ExtensionFactory.new.create_extension(
'subjectAltName'
当我运行命令composer require sensio/framework-extra-bundle时,我试图在symfony 6.1应用程序中安装一个软件包
I get this error message
[RuntimeException] You must enable the openssl extension in your php.ini
to load information from https://...
我试图在php.ini文件中启用openssl扩展名,但是我找不到(extension=php_openssl.dll)行,我只找到了这个(extension=o
在Amazon 1 EC2中使用OpenSSL 1.0.2k-fips运行Composer 2有问题。
当我尝试运行php composer.phar update时,我得到:
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires linked libra