Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    Default libssh2 extension

    Hello everyone,

    I would like to install php ssh2 extension so I can run a game server panel on my VPS. The only problem is that the most of the tutorials I see aren't suited for VPS, because when a package needs to be downloaded such as "yum install libssh2" or something, it does not work. www.libssh2.org is also down for me, so I can not access it.

    All I need to do is install SSH2 PHP extension the easiest way I can. Whether it is through WHM or just SSH

    I am running Centos 5, apache2, php5.

    Thanks.
    Last edited by BLUEPEPSi; 05-22-2010 at 01:42 AM.

  2. #2
    d_t
    d_t is offline
    Member
    Join Date
    Sep 2003
    Location
    Bucharest
    Posts
    239

    Default

    From manual PHP: Requirements - Manual , you need both openssl and ssh2 libraries. Try:

    yum install libssh2-devel openssl-devel

  3. #3
    Member
    Join Date
    Apr 2005
    Posts
    246

    Default Re: libssh2 extension

    Is there any update to this? "No package libssh2-devel available" is what I see.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Re: libssh2 extension

    Quote Originally Posted by erick_paper View Post
    Is there any update to this? "No package libssh2-devel available" is what I see.
    The packages libssh2 and libssh2-devel are available from third-party OS update repositories used by YUM, such as EPEL (Extra Packages for Enterprise Linux). You would need to match your RHEL or CentOS version to the appropriate EPEL release; please refer to the official EPEL web site for documentation and usage information: EPEL/FAQ - FedoraProject

  5. #5
    Member
    Join Date
    Apr 2005
    Posts
    246

    Default Re: libssh2 extension

    Is there any better help for this?

    I am trying to install PECL SSH2:


    Code:
    ~ > pecl install channel://pecl.php.net/ssh2-0.11.0
    WARNING: channel "pear.php.net" has updated its protocols, use "pecl channel-update pear.php.net" to update
    downloading ssh2-0.11.0.tgz ...
    Starting to download ssh2-0.11.0.tgz (22,884 bytes)
    ........done: 22,884 bytes
    5 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20041225
    Zend Module Api No:      20060613
    Zend Extension Api No:   220060519
    libssh2 prefix? [/usr] : /usr/local/lib/libssh2.so
    building in /var/tmp/pear-build-root/ssh2-0.11.0
    running: /root/tmp/pear/cache/ssh2-0.11.0/configure --with-ssh2=/usr/local/lib/libssh2.so
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details.
    ERROR: `/root/tmp/pear/cache/ssh2-0.11.0/configure --with-ssh2=/usr/local/lib/libssh2.so' failed

    What's the problem here? Where is libssh2?

Similar Threads & Tags
Similar threads

  1. Help~ I can't use FrontPage Extension
    By goodgbb in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-10-2006, 12:44 AM
  2. Replies: 0
    Last Post: 01-30-2006, 06:34 PM
  3. *** Installing libssh2 addon for PHP ***
    By Justin22 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-10-2005, 09:19 AM
  4. FrontPage Extension
    By ben_b in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-20-2004, 07:39 AM
  5. Subdomain With Fp Extension
    By chrisben in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2003, 10:45 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube