Problems with the Windows version of XAMPP, questions, comments, and anything related.
by lpastor » 07. September 2006 19:37
Hello,
I have deleted the ";" in the php.ini file for this line : extension=php_ssh2.dll to active this library.
But when i want to use it with this script for example :
<?php
$connection = ssh2_connect('shell.example.com', 22);
?>
I have this message : "Call to undefined function ssh2_connect()..."
If someone know how active this library ?
-
lpastor
-
- Posts: 5
- Joined: 07. September 2006 19:25
by Izzy » 08. September 2006 04:33
You have activated it by removing the comment tag ;
Did you do your edits in xampp/apache/bin/php.ini ?
Did you install a Secure Shell Server like openssh or any of the commercial offerings?
I believe the php extension is a dynamic link library (dll) to a sshd not a sshd in itself.
We do have some very good php gurus who frequent this forum and who may be able to throw more light on this for you.
-
Izzy
-
- Posts: 3344
- Joined: 25. April 2006 17:06
by lpastor » 08. September 2006 12:28
Very good, that work with /xampp/apache/bin/php.ini.
I have modified a bad php.ini in the /xampp/php directory.
Thank you very much.
Laurent
-
lpastor
-
- Posts: 5
- Joined: 07. September 2006 19:25
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 125 guests