Compiling PHP5 on a Mac, problems

Discussion in 'Mac Programming' started by bluefloyd8, Apr 15, 2009.

  1. bluefloyd8 macrumors newbie

    Dec 28, 2008
    Hello everyone.
    I am writing a CLI PHP script and want to use pcntl_fork(). Unforkunatly, the fork does not work unless I have compiled PHP with --enable-pcntl. I have tried to find a way to do this, but have not found anything.

    Any idea?
  2. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    Just pass --enable-pcntl to the configuration script when you compile PHP along with your other options.

Share This Page