Category Archives: PHP

PHP pcntl.so on OSX Lion (and MAMP)

pcntl.so install for system’s PHP install


Recently I needed to use pcntl_fork with a project and found that the stack I was using (MAMP) didn’t include support for pcntl.so by default. Fortunately it’s pretty easy to install on Lion.
Read more »

How to install ssh2.so for PHP 5.3.x on OSX Lion and MAMP

For a recent project I needed to use the ssh2 extension with PHP. I had tried to use phpseclib, but found that it doesn’t support for DSA keys (a requirement for my project). Using the instructions below, you can easily install ssh2 support for PHP using homebrew.

Read more »