Ubuntu: Installation problem libssh2-php on Ubuntu 13.10



Question:

New here, be gentle...

I am setting up a server using Ubuntu Server 13.10 64 bit. So far all went well, but now running into a problem during installation of libssh2-php.

  Setting up libssh2-php (0.11.3-0.1build2) ...    Creating config file /etc/php5/conf.d/ssh2.ini with new version  cp: cannot create regular file â/etc/php5/conf.d/ssh2.iniâ: No such file or directory  dpkg: error processing libssh2-php (--configure):   subprocess installed post-installation script returned error exit status 1  Errors were encountered while processing:   libssh2-php  E: Sub-process /usr/bin/dpkg returned an error code (1)  

Tried sudo apt-get remove --purge libssh2-php followed by reinstalling, no luck.
When I check /etc/php5/, there is a /etc/php5/apache2/conf.d and a /etc/php5/cli/conf.d directory but no /etc/php5/conf.d directory.

Edit php version 5.5.3

Any suggestions welcome... Thanks!


Solution:1

This is a bug.

As a workaround:

sudo mkdir -p /etc/php5/conf.d/   sudo apt-get install libssh2-php  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »