在WAMP / Apache的openssl.exe中找不到ordinal 372 [英] Can't find ordinal 372 in WAMP/Apache's openssl.exe

查看:991
本文介绍了在WAMP / Apache的openssl.exe中找不到ordinal 372的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的PHP框架需要OpenSSL的各种功能,但是当执行与OpenSSL相关的任何操作时,我会收到以下错误:DLL文件C中找不到ordinal 372:\wamp64\bin\apache \apache2.4.17\bin\openssl.exe。

The PHP framework I use needs OpenSSL for various features, but when executing anything related to OpenSSL, I get the following error: "Can't find ordinal 372 in DLL-file C:\wamp64\bin\apache\apache2.4.17\bin\openssl.exe".

我不知道如何纠正这一点,我已经看到了任何地方。我很感激帮助,因为我不知道如何解决这个问题。

I don't know how to correct this at all, I looked everywhere already. I'd appreciate the help, as I don't know how to fix this.

推荐答案

要解决这个问题,需要:

To fix the issue, two things are needed:

1)确保您的Apache bin目录中没有libeay32.dll和ssleay32.dll的符号链接
(例如,我的是:C:\wamp64\bin\apache\apache2.4.23\bin)

1) Make sure that you don't have symbolic links for libeay32.dll and ssleay32.dll in your Apache bin directory (For example, mine is: C:\wamp64\bin\apache\apache2.4.23\bin)

如果您有符号链接(即文件大小是0字节),您需要从Apache Lounge下载dll。
例如,我从位于 https://www.apachelounge.com/download/

If you do have symbolic links (i.e. the file size are 0 bytes), you need to download the dlls from Apache Lounge. For example, I grabbed the two .dll files from the 64-bit version of Apache 2.4.23 hosted at https://www.apachelounge.com/download/

2)恢复实际的.dll文件后,您需要确保WampServer不会覆盖它们。 WampServer 3具有每次启动时运行的配置脚本。在该脚本中,它将用符号链接覆盖那些.dll。您必须禁用该功能。要做到这一点,请注释对这两个文件的引用:C:\wamp64\scripts\config.inc.php(我的位于第133和139行)。

2) Once you have the actual .dll files restored, you need to make sure that WampServer isn't overwriting them. WampServer 3 has a configuration script that runs every time it starts. In that script it will overwrite those .dlls with symbolic links. You must DISABLE that functionality. To do so, comment out the references to those two files in: C:\wamp64\scripts\config.inc.php (mine were located at lines 133 and 139).

应该允许您在Apache中启用mod_ssl模块。在启用mod_ssl的Apache启动正确后,您还需要取消注释Include conf / extra / httpd-ssl.conf。 (但是,您可能需要删除大部分内容,重新开始,因为它包含大量硬编码的路径和错误)

That should allow you to enable the mod_ssl module in Apache. You'll also need to uncomment the "Include conf/extra/httpd-ssl.conf" after you get Apache booting properly with mod_ssl enabled. (However, you'll likely need to delete most of whats in there and start over since it includes lots of hardcoded paths and bugs)

这篇关于在WAMP / Apache的openssl.exe中找不到ordinal 372的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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