Author |
|
iztokba
Joined: 15 Mar 2014 Posts: 18 Location: slovenia
|
Posted: Mon 14 Dec '15 10:46 Post subject: Upgrade and get mod_ssl was compiled against a newer library |
|
|
Today i upgrade apache to 2.4.18 with mod_ssl..
in apache error i get this error, how could i solve this error?
Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.0.2e 3 Dec 2015, version currently loaded is OpenSSL 1.0.2d-fips 9 Jul 2015) - may result in undefined or erroneous behavior
Thanks for help |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Mon 14 Dec '15 12:01 Post subject: |
|
|
Looks you are not upgrading a Apache Lounge build.
Just copy all the files over, except your changed .conf files.
If still the same I would search the hard drive for other ssleay32.dll libeay32.dll files, especially in c:\, c:\windows and c:\windows\system32 for starts. |
|
Back to top |
|
iztokba
Joined: 15 Mar 2014 Posts: 18 Location: slovenia
|
Posted: Mon 14 Dec '15 12:12 Post subject: |
|
|
I was copy all the files: apache lounge bild then restarted apache.
it is the same error |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Mon 14 Dec '15 13:29 Post subject: |
|
|
OpenSSL 1.0.2d-fips is not from Apachelounge, so what you trying to upgrade ? Some you are mixing.
Looks like there are somewhere in your PATH files from 1.0.2d-fips. Did you install it from ? |
|
Back to top |
|
iztokba
Joined: 15 Mar 2014 Posts: 18 Location: slovenia
|
Posted: Mon 14 Dec '15 14:13 Post subject: |
|
|
I was upgrade apache and all phps from you, about year ago and works fine.
Today i enable mod_ssl module for first time and i get that error, how could i repair it or change the openssl.
thanks |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Mon 14 Dec '15 14:56 Post subject: |
|
|
Apache Lounge does not have PHP downloads, maybe you downloaded from a forum member(e.g. Jan-E) here.
To repeat I already said above: Looks like there are somewhere in your PATH files from 1.0.2d-fips.
So search your box for (old) OpenSSL files: libeay32 ssleay32 openssl apr_crypto_openssl-1 mod_ssl.so |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Mon 14 Dec '15 15:46 Post subject: |
|
|
Probably there are older ssleay32.lib and libeay32.lib files in the directory with php-cgi.exe. The versions in Apache24\bin and in the PHP-dir should be the same. |
|
Back to top |
|
iztokba
Joined: 15 Mar 2014 Posts: 18 Location: slovenia
|
Posted: Tue 15 Dec '15 9:49 Post subject: |
|
|
do you have ssleay32.lib and libeay32.lib files, i was change the files, but error stil exsist, mybe i have old files
I resolve the error: folow this steps
wampserver with apache 2.4.4 released with wrong openssl files. All the things to do is: download and install the 1.0.1e openssl from here: https://slproweb.com/products/Win32OpenSSL.html
Then find these files in the installed directory:
bin\openssl.cfg
bin\libeay32.dll
bin\ssleay32.dll
bin\openssl.exe
Stop the apache server. overwright these files in your apache directory:
conf\openssl.cnf->rename the cfg here
bin\libeay32.dll
bin\ssleay32.dll
bin\openssl.exe
Restart the server. Solved. |
|
Back to top |
|