NYCPHP Meetup

NYPHP.org

[nycphp-talk] Mac OS X local laptop setup

David Sklar sklar at sklar.com
Thu May 13 15:48:13 EDT 2004


Note, however, that the default PEAR installation that comes with 
Panther is broken. From a terminal prompt, do:

curl http://go-pear.org | sudo php

to install PEAR properly.

David

charlie derr wrote:
> Chris Snyder wrote:
> 
>> You know that PHP is installed and ready to go by default on OSX, right?
>> Turn on the webserver in the sharing control panel and you're set.
> 
> 
> 
> Groovadelic.  I'm not much of a mac person, but I never knew that -- I 
> was all set to say what Mitch said (fink) when I read your response and 
> tried it.
> 
> 
> To be completely pedantic, it wasn't "quite" ready to go.  On my panther 
> (osX 10.3) machine, I had to go into /etc/httpd.conf and uncomment these 
> two lines:
> 
> #LoadModule php4_module        libexec/httpd/libphp4.so
> #AddModule mod_php4.c
> 
> 
> After restarting the Personal Web Sharing service, it is indeed all set.
> 
>     thanks for this,
>         ~c
> 
>>
>> It's installed as a shared object, too, so you can compile a newer / 
>> custom version if necessary. Just pick up the configure line from 
>> phpinfo(); and use that to configure a custom version from source.
>>
>> _______________________________________________
>> talk mailing list
>> talk at lists.nyphp.org
>> http://lists.nyphp.org/mailman/listinfo/talk
> 
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 




More information about the talk mailing list