win server 2012 - cannot load module mod_ssl
Posted by: fxmathieu (80.78.5.---)
Date: May 23, 2016 12:03PM

Hi all,

I'm faced with this problem since a while and Google cannot help me ... who can do it ?

I installed last version of WampServer (3.0.0 - 64 bits) on Win Server 2012 R2.
Apache 2.4.17
Php 5.6.16

I tried to activate the module mod_ssl based on this documentation [stackoverflow.com] without succes.

My certificate is a official one (trusted and no self-signed)

When I test my httpd.conf, I get the following message:

httpd.exe: Syntax error on line 173 of D:/Tools/wamp64/bin/apache/apache2.4.17/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: The operating system cannot run %1.

Who can help me ?
Thanks for your support.
François

Options: ReplyQuote
Re: win server 2012 - cannot load module mod_ssl
Posted by: fxmathieu (---.my-it-solutions.net)
Date: May 23, 2016 12:51PM

Hi,

I upgraded WampServer from 3.0.0 to 3.0.4 with succes, but it don't solve my problem.

Note that Wampserver is working fine without SSL.

Options: ReplyQuote
Re: win server 2012 - cannot load module mod_ssl
Posted by: dturkel (207.87.222.---)
Date: June 10, 2016 03:25PM

I had the same problem ... when I switched to use PHP 7, mod_ssl worked fine.

Options: ReplyQuote
Re: win server 2012 - cannot load module mod_ssl
Posted by: RiggsFolly (Moderator)
Date: June 10, 2016 03:38PM

Hi,

This is normally caused by mod_ssl not being able to load the libeay32.dll and/or ssleay32.dll.

If you downloaded the latest OPEN-SSL tool then copy these 2 dll's from the OPEN_SSL folder you installed that into, and put them in the \wamp\bin\php\php{version} folder.

Do this for all versions of PHP that you have installed into WAMPServer.

Then using the wampmanager menus do this to make sure the correct SYMLINKS are created to these new dll's

(right click)wampmanager icon -> Refresh

Now start/restart Apache using

(left click) wampmanager -> Apache -> Service Administration -> Restart service

And all should be well

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.