Problem when trying installing ssh2.so

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Problem when trying installing ssh2.so

Postby Dar2007 » 11. March 2007 00:28

i tried to install ssh2.so
i keep getting error from the server when i'm trying to turn of/on:
PHP Warning: Unknown(): Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/ssh2.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0

on php4 or php5 the same.
i checked the ssh2 version, its ok.
but still can't load it...

can u add a addon for ssh2 or explain me whats wrong or what shall i change?
Dar2007
 
Posts: 6
Joined: 11. March 2007 00:23

Postby Wiedmann » 11. March 2007 10:36

IMHO the SSH2 extension is not part of the XAMPP package.

You have build this extension by yourself?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Dar2007 » 11. March 2007 14:19

i have compile with this:
http://pecl.php.net/package/ssh2,
its working on other webservers based on apache..
Dar2007
 
Posts: 6
Joined: 11. March 2007 00:23

Postby Wiedmann » 11. March 2007 15:05

i have compile with this:

You made this on your XAMPP box (with the XAMPP devel package)?

PHP Warning: Unknown(): Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/ssh2.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0

- You are using (and have compiled for) PHP4?
- The file "ssh2.so" is in the directory "'/opt/lampp/lib/php/extensions/no-debug-non-zts-20020429"?
- Are all other shared libs also availible ("ldd ssh2.so")?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Dar2007 » 11. March 2007 16:00

i didn't use dev pack but i'm going to download it now,
i don't know how to check for which php version i compiled.
yes i had put it on the directory u indicated for.
i didn't understand the last question...
Dar2007
 
Posts: 6
Joined: 11. March 2007 00:23

Postby Dar2007 » 16. March 2007 22:59

its not working either.
Dar2007
 
Posts: 6
Joined: 11. March 2007 00:23

Postby Wiedmann » 16. March 2007 23:05

Well, you can't use an extension from another installation in XAMPP:
You have compiled your own extension with XAMPP in the last days?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Dar2007 » 17. March 2007 00:55

how can i compile with XAMPP there is a way to do that?
Dar2007
 
Posts: 6
Joined: 11. March 2007 00:23

Postby Wiedmann » 17. March 2007 00:59

Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests