Apache 2.4.37 SSL Issue
Posted by: QuePID (172.58.139.---)
Date: November 16, 2018 03:19AM

I am using Wamp64 version 3.1.4 and had ssl working fine with apache 2.4.34.

I also updated the VC2017 (32bit and 64bit).

I updated php to 7.2.12, mysql to 5.7.24, and apache to 2.4.37.

I then enabled the ssl mod for apache in the httpd.conf and made sure the httpd_ssl.conf had the correct paths to the certificates.

Unfortunately apache fails to load and generates no error log. When I manually try to run httpd.exe in a command prompt I get the below error:

httpd: Syntax error on line 185 of C:/wamp64/bin/apache/apache2.4.37/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: The specified procedure could not be found.

Any help would be greatly appreciated.

Options: ReplyQuote
Re: Apache 2.4.37 SSL Issue
Posted by: RiggsFolly (Moderator)
Date: November 16, 2018 02:08PM

Sounds like you forgot activate one of the other required modules, probably one of the socache modules

From the top of the httpd-ssl.conf file

# Required modules: mod_log_config, mod_setenvif, mod_ssl,
#          socache_shmcb_module (for default value of SSLSessionCache)

Also remember that the httpd-ssl.conf file is not copied forward to the new Apache from the old Apache. This you have to do yourself, while remembering to make sure you check that nothing in this area has changed between versions of Apache.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

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 MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Apache 2.4.37 SSL Issue
Posted by: QuePID (172.58.139.---)
Date: November 16, 2018 04:18PM

I don't think that a missing module is causing the issue.
Here is a list of modules that I am loading in my httpd.conf:

LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cache_module modules/mod_cache.so
LoadModule cache_disk_module modules/mod_cache_disk.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so

Options: ReplyQuote


Sorry, only registered users may post in this forum.