SocialEngine 4.1.6 CDN support requires SSH2; Install instructions here

You can easily install the PHP SSH2 extension to PHP5 on Mac OS X Server to support the new CDN features of SocialEngine 4.1.6. Here’s how:


Mavericks Instructions

If you’re running Mac OS X Mavericks Server, see these articles about adding PHP extensions:

If you’ve previously installed mcrypt using instructions on this page, read this article to upgrade PHP extensions for Mavericks server.

Download and install MacPorts from

The following steps are performed in the Terminal:

Force MacPorts to update:

sudo port -v selfupdate

Now, install memcached:

sudo port install php5-ssh2

Copy the newly created shared object for mcrypt into Mac OS X’s default PHP5 extension directory:

sudo cp /opt/local/lib/php/extensions/no-debug-non-zts-20090626/ /usr/lib/php/extensions/no-debug-non-zts-20090626/

Next, you need to edit php.ini to add the extensions. Find the phrase Dynamic Extensions, and add:

And finally, restart Apache:

sudo apachectl restart

To confirm installation, create a new PHP document called phpinfo.php with the following contents:


Point your browser to the URL of that file. If all went well, you’ll see this block:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.