Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bluefloyd8

macrumors newbie
Original poster
Dec 28, 2008
2
0
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?
 
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?

Just pass --enable-pcntl to the configuration script when you compile PHP along with your other options.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.