Hey,
es gibt zwar schon ein paar Threads zu diesem Thema, allerdings blicke ich in diesen nicht wirklich durch. Also schonmal entschuldigung für einen weiteren Thread in dieser Richtung.
Ich möchte das http://de2.php.net/manual/de/ssh2.installation.php Modul in Xampp einbinden. Folgendes habe ich schon versucht:
Libssh2 " http://sourceforge.net/projects/libssh2/ " heruntergeladen, und dann über ./configure , make und make install compiliert. Dies hat mir 5 Dateien erzeugt: libssh2.so , libssh2.so.1 , libssh2.so.1.0.1 , libssh2.a , libssh2.la . Diese habe ich dann in den extension Ordner getan und in die php.ini extension="libssh2.so" eingetragen. Jedoch kommt immer eine Fehlermeldung beim starten von XAMPP.
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/libssh2.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/libssh2.so: wrong ELF class: ELFCLASS64 in Unknown on line 0
Über die Suchfunktion hier habe ich dann gefunden dass man solche Pakete mit dem XAMPP Entwicklungspaket compilieren müsste. Also habe ich dieses runtergeladen und installiert. In dem Beitrag wurde auf folgendes verwiesen:
http://de.php.net/manual/en/install.pecl.phpize.php
So wenn ich jetzt aber eingebe: " phpize " , kommt immer Command not found. Diese Datei liegt im Ordner /opt/lampp/bin . Wenn ich diese aufrufe auf dem Verzeichnis wo diese liegt , gibt es mir folgende Ausgabe:
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:3535: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5473: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2952: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2932: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2895: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3490: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7600: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5586: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4621: _LT_AC_TAGCONFIG is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:3535: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5473: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2952: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2932: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2895: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3490: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7600: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5586: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4621: _LT_AC_TAGCONFIG is expanded from...
Was muss ich jetzt machen um dieses Paket zu compilieren und unter XAMPP zum laufen zu bekommen?