NYCPHP Meetup

NYPHP.org

[nycphp-talk] pcntl_fork() assistance

Rob Marscher rmarscher at beaffinitive.com
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:
http://developer.apple.com/internet/opensource/php.html
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!
-Rob

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 php.net 
> <http://php.net> 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/zlibtclConfig.sh
> /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.
> http://www.codebowl.com/
> Blog: http://www.josephcrawford.com/
> 1-802-671-2021
> codebowl at gmail.com <mailto:codebowl at gmail.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>   



More information about the talk mailing list