windows下安装PrestaShop报错
思韵闪耀
2024-06-16
0

windows下安装PrestaShop报错

2024-06-16_113831

Unable to generate private keys using openssl_pkey_new. Check your OpenSSL configuration, especially the path to openssl.cafile.


这里只说解决办法,不讨论程序运行

不论是xampp, wamp, wnmp, PHPstudy,还是宝塔,都可能产生这个问题

In Windows you need to go in "Environment Variables" in "System Variables" Add Variable name: "OPENSSL_CONF" Variable Value: "X:\XXX\XXX\XXX\openssl.cnf" path where you installed xampp, wamp, wnmp . Restart PC It will work. 


打开系统属性,找到环境变量

image

在系统变量中添加OPENSSL_CONF,变量值为你安装环境下对应配置文件位置,比如我的D:\BtSoft\php\74\extras\ssl\openssl.cnf,找不到可以搜索openssl.cnf

image

确定后重启服务器,提示错误会消失

【版权声明】
本站部分内容来源于互联网,本站不拥有所有权,不承担相关法律责任。如果发现本站有侵权的内容,欢迎发送邮件至masing@13sy.com 举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。

上一篇:PHP 的标准扩展

下一篇:没有了

相关内容

热门资讯

遇到is not within... 报错信息:is not within the allowed path(s): 总结:发现不是目录下...
open_basedir re... Warning: file_exists(): open_basedir restriction i...
file_get_conten... file_get_contents 不能使用解决方法(原因是没开启) 提示:Warning: fil...
session_start()... 今天更新了一下自己的cms,然后后台就提示登陆不了,报错如下:Failed to initializ...
解决 child pid ex... 最近在VPS上测试一个php项目,用的centos6 64位的系统装完进入管理界面 始终出错 fir...
完美解决PHP中文乱码 用php时中文乱码就是一个很棘手的问题,最近要开始写项目了,觉得解决中文乱码是和有必要的 一、首先是...
大型php网站性能和并发访问优... 网站性能优化对于大型网站来说非常重要,一个网站的访问打开速度影响着用户体验度,网站访问速度慢会造成高...
PHP防跨站之open_bas... php为了安全性考虑,有一项 open_basedir 的设置。根据你web服务器环境,open_b...
显示Deprecated: A... 今天把php升级到php5.3之后出现在使用 = 时提示PHP错误Deprecated: Assig...
php中file_get_co... 在php中如果不仔细的去分析性能会发现file_get_contents与curl两个同很多共同点的...