[nycphp-talk] pcntl_fork() assistance

Rob Marscher rmarscher at
Wed Sep 20 18:45:31 EDT 2006

I've got a mac at home that I've compiled php on.  I'm on my linux 
machine here at work, so I can't quickly look it up.  However, I 
remember having to get XCode from Apple to do any compiling... I assume 
you must have that.  I just found these instructions... seem very 
similar to what I remember doing:
FYI, Fink Commander is a gui frontend for the Fink package manager 
mentioned in the article.  I recommend grabbing that if you want to 
browse what else is available.

Good luck!

Joseph Crawford wrote:
> csnyder,
> yea i noticed that but thought MAMP would have had that enabled but i 
> guess not.  I have been fighting trying to get php to compile on the 
> mac from source.  I am not using the built in apache so the 
> <> docs are no help.  It keeps tripping up when 
> ,/configure is looking for zlib.
> I am not that familiar with compiling php from source but it seens 
> straight forward until it trips up like this :D
> I am not sure what zlib file it is looking for and i could not find a 
> binary zlib on my system.
> /usr/include/bzlib.h
> /usr/include/zlib.h
> /usr/lib/ruby/1.8/powerpc-darwin8.0/zlib.bundle
> /usr/lib/
> /usr/share/man/man3/zlib.3
> /usr/share/man/mann/crc-zlib.n
> /usr/share/ri/1.8/system/Zlib/zlib_version- i.yaml
> /usr/X11R6/include/X11/extensions/lbxzlib.h
> is what locate comes up with, aside from stuff bundled with other apps.
> If ANYONE has any resources i could read about compiling LAMP on the 
> mac i would appreciate it.  Everyone is telling me to just go with a 
> precompiled package and would if any of them enabled pcntl :)
> Thanks,
> -- 
> Joseph Crawford Jr.
> Zend Certified Engineer
> Codebowl Solutions, Inc.
> Blog:
> 1-802-671-2021
> codebowl at <mailto:codebowl at>
> ------------------------------------------------------------------------
> _______________________________________________
> New York PHP Community Talk Mailing List
> NYPHPCon 2006 Presentations Online
> Show Your Participation in New York PHP

More information about the talk mailing list