Hi,
I've been searching for a sollution all day now.. I'm trying to add the ssh2 extention in to php.
I followed all the steps on php.net, even from some forums (that sugested some extra commandline options when compiling the extention manualy). But the final step seems to misfire every time, that is, add the extention in the php.ini file, and reload the apache server..
Well after doing just that, guess what happens.. Nothing.. The extention is not loaded at all, but all the paths are correct..
I've enabled the dl() function, and when i trigger dl('ssh2.so'); in my phpfile, it loads without any problem...
To make the matter worse, not one logfile in directadmin shows any error while php started or apache started.. So according to the logs, nothing is wrong...
Does anyone know how i can get php to load this extention?
Extention location: /usr/local/lib/php/extentions/no-debug-non-zts-20020429/ssh2.so
From phpinfo(); :extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ("" in the php.ini file)
And the extention is in the php.inifile as "extention:ssh2.so" without the quotes ofcourse.
I am currently using DirectAdmin 1.31.4 with the custombuild 1.3 apache.
Thanks!
I've been searching for a sollution all day now.. I'm trying to add the ssh2 extention in to php.
I followed all the steps on php.net, even from some forums (that sugested some extra commandline options when compiling the extention manualy). But the final step seems to misfire every time, that is, add the extention in the php.ini file, and reload the apache server..
Well after doing just that, guess what happens.. Nothing.. The extention is not loaded at all, but all the paths are correct..
I've enabled the dl() function, and when i trigger dl('ssh2.so'); in my phpfile, it loads without any problem...
To make the matter worse, not one logfile in directadmin shows any error while php started or apache started.. So according to the logs, nothing is wrong...
Does anyone know how i can get php to load this extention?
Extention location: /usr/local/lib/php/extentions/no-debug-non-zts-20020429/ssh2.so
From phpinfo(); :extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ("" in the php.ini file)
And the extention is in the php.inifile as "extention:ssh2.so" without the quotes ofcourse.
I am currently using DirectAdmin 1.31.4 with the custombuild 1.3 apache.
Thanks!
Last edited: