Xampp 警告:模块“openssl"已加载到第 0 行 [英] Xampp Warning: Module 'openssl' already loaded in line 0

查看:39
本文介绍了Xampp 警告:模块“openssl"已加载到第 0 行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 7 上安装了 Xampp.当我尝试运行代码时出现错误

I have installed Xampp on windows 7. When I try to run code I get the error

警告:模块openssl"已在第 0 行加载

Warning: Module 'openssl' already loaded in line 0

这是我之前在电脑上运行的相同代码,我所做的只是重新安装 Win 7 并全新安装 XAMPP

This is the same code I have run on the pc before, all I have done is reinstalled Win 7 and a clean install of XAMPP

推荐答案

你好像有底线

extension=php_openssl.dll

两次在您的 php.ini 文件和/或子文件中.

twice in your php.ini file and/or subfiles.

您需要在您的 xampp 目录中找到所有相关的 php.ini 文件,并删除或注释掉其中一个模块指令,如下所示:

You need to find all relevant php.ini files in your xampp directory and remove or comment out one of the module directives like this:

;extension=php_openssl.dll

服务器重启后,应该可以解决了.

After a server restart, this should solve it.

这篇关于Xampp 警告:模块“openssl"已加载到第 0 行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆