NYCPHP Meetup

NYPHP.org

[nycphp-talk] Mac OS X local laptop setup

Chris Hubbard chubbard at next-online.net
Fri May 14 12:35:59 EDT 2004


Aaron,
Open up Terminal
type in:
cd /etc/httpd/

then type
ls -la

you should see httpd.conf

if you do, then type:
sudo vi httpd.conf

then search for php by typing /php <enter>

remove the # sign in front of the two lines that contain php.
you can remove a single character by typing x.  x will remove the 
character under the cursor.

when you're done type
:wq

then restart Personal Web Sharing

Chris

On May 13, 2004, at 1:26 PM, Aaron Fischer wrote:

> I started Personal Web Sharing and successfully received the Apache 
> start up page.  However, after running phpinfo(); at it from the 
> "Sites" folder, it doesn't appear to be running php by default.  I 
> searched my hard drive for "httpd.conf" and came up with no results.
>
> I'm running Panther as well, can you give me a little more detail 
> where I can find the httpd.conf file?
>
> Thanks,
>
> -Aaron
>
> On May 13, 2004, at 3:22 PM, charlie derr wrote:
>
>> 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
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
Chris Hubbard
chubbard at next-online.net
425 563 4153




More information about the talk mailing list