2

I use php 5.5.3 on a Ubuntu 13.10 server and want to use ssh2 with php. So I installed libssh2-php with this command: apt-get install libssh2-php

Installation runs without error. I got a ssh2.ini file within /etc/php/conf.d. Restarted apache2 even rebooted the server but php -m | grep ssh2 didn't return anything. phpinfo() got also no ssh entries :(

What is missing?

1 Answer 1

2

I found the solution. It's the same problem like mcrypt described here: https://askubuntu.com/questions/362082/php-is-not-working-well-on-ubuntu-13-10-and-mcrypt-is-missing-in-phpmyadmin

to get ssh2 running you have to move the ssh2.ini from /etc/php/conf.d/ssh2.ini to /ect/php/mods-available/ Then run php5enmod ssh2 and restart apache2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.