How to install libssh2 with PHP on CentOS 5 x86_64

This post is just for archiving it, if you find it useful I’m glad!

If you are dealing with CentOS 5 x86_64 (Free version of RHEL5), try to install libssh2 for your PHP development you might fail in doing so.

So here’s a quick tip how to install libssh2 on X86_64 systems(I think i386 works just fine)

Edit: /usr/share/pear/pearcmd.php

Set: @ini_set(‘memory_limit’, ‘16M’);

And try again!

3 Comments

  1. narendra.s.v says:

    cool n thnx for sharing too :)

  2. Arstan says:

    I hope it helps anybody, this is kinda keeping notes myself

  3. imwzw says:

    Arstan, thanks a lot for the tutorial, really it is nice resource.

Leave a Reply

You must be logged in to post a comment.