Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Vid Luther's Blog:
Installing the PHP SSH2 extension in Snow Leopard (10.6)
Jan 25, 2010 @ 12:01:06

Vid Luther has posted a guide for getting the latest version of SSH working as a PHP extension on your Snow Leopard installation.

Getting PHP with SSH support is not an easy task in Snow Leopard. If you need it, here’s a hackish way to do it, until Sara or Mike get around to patching the ssh2 in PECL.

You'll need Xcode and Brew to follow along with his example. He shows you how to set things set up (fail the pecl install), patch that failed file with the patch here and make/make install and you should have a nice shared object (.so) you can now install into your PHP instance.

tagged: snowleopard ssh2 extension tutorial