Mac OS X Server doesn't have OpenSSL installed, but composer won't run without it. So MacPort install phpx, php_select, phpx_openssl, and phpx_mbstring, select the version of php as php, add the bin directory to the front of $PATH, and all will work.