logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: 2.4.62: libssh2.dll is missing from your computer
Author
efa



Joined: 17 Oct 2024
Posts: 3
Location: Italy, Milano

PostPosted: Thu 17 Oct '24 18:51    Post subject: 2.4.62: libssh2.dll is missing from your computer Reply with quote

just downloaded & run Apache 2.4.62 64-bit from:
https://www.apachelounge.com/download/

When I start:
C:\ProgramFiles\Apache24\bin> httpd.exe
it say:
---
httpd.exe - System Error
The program cannot start because "libssh2.dll" is missing from your
computer. Try reinstalling the program to fix this problem
---

And the DLL is really missing.
I copy that from a PHP/XAMPP installation and the error is solved.

==> So seems only a packaging error!

___
Windows Server 2012R2
Microsoft Windows [Version 6.3.9600]
Windows Server 6.3 (Build 9600)
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 691

PostPosted: Thu 17 Oct '24 20:55    Post subject: Reply with quote

SSH is not a part of our Apache.

Is is a setting of Xampp and they implemented ssh.
Back to top
efa



Joined: 17 Oct 2024
Posts: 3
Location: Italy, Milano

PostPosted: Fri 18 Oct '24 10:01    Post subject: Reply with quote

Indeed I included:
Code:
Include "conf/extra/httpd-xampp.conf"

in
Code:
Apache24\conf\httpd.conf

(and added the file "conf/extra/httpd-xampp.conf")
to have PHP working from a previous XAMPP installation.
Probably this part in conf/extra/httpd-xampp.conf require SSH2:
Code:
<IfModule env_module>
    SetEnv MIBDIRS "/ProgramFiles/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "/ProgramFiles/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
</IfModule>
Back to top
efa



Joined: 17 Oct 2024
Posts: 3
Location: Italy, Milano

PostPosted: Fri 18 Oct '24 10:34    Post subject: Reply with quote

I saw that it is the curl command supplyed by XAMPP that use the libssh2 DLL.
But it quite old and maybe insecure:

Code:
C:\ProgramFiles\xampp\apache\bin>curl -V
curl 8.4.0 (x86_64-w64-mingw32) libcurl/8.4.0 OpenSSL/3.1.4 (Schannel) zlib/1.3 brotli/1.1.0 zstd/1.5.5 WinIDN libssh2/1.11.0 nghttp2/1.58.0 ngtcp2/1.0.1 nghttp3/1.0.0
Release-Date: 2023-10-11


While the one the is in Windows directory (I don't believe supplied by Microsoft, but probably from some other app installation) is younger:
Code:
C:\Windows\system32\curl.exe -V
curl 8.9.1 (Windows) libcurl/8.9.1 Schannel zlib/1.3 WinIDN
Release-Date: 2024-07-31
Back to top


Reply to topic   Topic: 2.4.62: libssh2.dll is missing from your computer View previous topic :: View next topic
Post new topic   Forum Index -> Apache