Copyright 2004 by M. Uli Kusterer Fri, 29 Nov -1901 11:06:32 GMT Comments on article activatingphponosx at Zathras.de http://www.zathras.de/angelweb/activatingphponosx.htm activatingphponosx Comments witness_dot_of_dot_teachtext_at_gmx_dot_net (M. Uli Kusterer) witness_dot_of_dot_teachtext_at_gmx_dot_net (M. Uli Kusterer) en-us Comment 16 by daniel farmer http://www.zathras.de/angelweb/activatingphponosx.htm#comment16 http://www.zathras.de/angelweb/activatingphponosx.htm#comment16 note : for 10.4.11 users.

Apache Web root is :

/Library/Webserver/Documents/
Comment 15 by simone http://www.zathras.de/angelweb/activatingphponosx.htm#comment15 http://www.zathras.de/angelweb/activatingphponosx.htm#comment15 sorry for the bad english but i'm italian.
when i activate php following your instruction automatically i activate apache or i need a differen way to do that? my mac is 10.4.11 version.
Comment 14 by Uli Kusterer http://www.zathras.de/angelweb/activatingphponosx.htm#comment14 http://www.zathras.de/angelweb/activatingphponosx.htm#comment14 Uli Kusterer writes:
cfarm, as the article says, theAddModule line is only needed on 10.4 and earlier
Comment 13 by cfarm http://www.zathras.de/angelweb/activatingphponosx.htm#comment13 http://www.zathras.de/angelweb/activatingphponosx.htm#comment13 Hi, great read and very helpful. I was wondering, my apache config file didn't have the #AddModule mod_php4.c library. I skipped over the line and it seems to compile php just fine but am wondering how important that is.

Thanks
Comment 12 by Claudia http://www.zathras.de/angelweb/activatingphponosx.htm#comment12 http://www.zathras.de/angelweb/activatingphponosx.htm#comment12 sudo pico /etc/httpd/mime.types
After I entered that, there was no MIME type lists showing up, it was just blank..
Comment 11 by Matt Burns http://www.zathras.de/angelweb/activatingphponosx.htm#comment11 http://www.zathras.de/angelweb/activatingphponosx.htm#comment11 i followed the instructions, but it won't let me re-enable personal web sharing. i let it sit for over an hour, and nothing. i've gone through the instructions again, and everything that was supposed to be changed was changed. do you have any suggestions? is there a way i can reset the file and repeat the process in case i altered something else by mistake?
Comment 10 by Uli Kusterer http://www.zathras.de/angelweb/activatingphponosx.htm#comment10 http://www.zathras.de/angelweb/activatingphponosx.htm#comment10 Uli Kusterer writes:
Peter,

no, it's on every Mac. Did you get no "php" found in both files? I'd have to look again, but it might be unnecessary to do some of these steps on newer Mac OS X versions.
Comment 9 by Peter http://www.zathras.de/angelweb/activatingphponosx.htm#comment9 http://www.zathras.de/angelweb/activatingphponosx.htm#comment9 Peter writes:
Hi Uli,

It was all going very well until the search command could not find any instance of PHP.

Do I need to go and find and install it first? Is my Mac the only one that came without it?

Is there any chance you can help me with this please?

Best, Peter...
Comment 8 by Uli Kusterer http://www.zathras.de/angelweb/activatingphponosx.htm#comment8 http://www.zathras.de/angelweb/activatingphponosx.htm#comment8 Uli Kusterer writes:
I can't tell. Every installer is different. But if you have an installer that was built using PackageMaker (standard Mac installer), you can get it to display its file list. There's a menu item when you open the installer, that lists all the paths.
Comment 7 by Steve http://www.zathras.de/angelweb/activatingphponosx.htm#comment7 http://www.zathras.de/angelweb/activatingphponosx.htm#comment7 ... in other words, is there anything that needs to be cleared out besides the contents of the /usr/local/php5 directory?

I figured I should have clarified.

Thanks!
Comment 6 by Steve http://www.zathras.de/angelweb/activatingphponosx.htm#comment6 http://www.zathras.de/angelweb/activatingphponosx.htm#comment6 Thanks for the instructions!

Where do I go to clean out the failed installations of PHP? Unfortunately the installer does not reveal the installation location.

Thanks,

Steve
Comment 5 by larisa http://www.zathras.de/angelweb/activatingphponosx.htm#comment5 http://www.zathras.de/angelweb/activatingphponosx.htm#comment5 larisa writes:
excellent, clear instructions. i was trying to install php onto my mac and all i had to do was enable it. thanks for your help!
Comment 4 by jonah http://www.zathras.de/angelweb/activatingphponosx.htm#comment4 http://www.zathras.de/angelweb/activatingphponosx.htm#comment4 jonah writes:
Thanks Uli, I love my MacBook even more now.
Comment 3 by Steve http://www.zathras.de/angelweb/activatingphponosx.htm#comment3 http://www.zathras.de/angelweb/activatingphponosx.htm#comment3 Excellent job... well written and clear. It was a great help, thanks!
Comment 2 by Uli Kusterer http://www.zathras.de/angelweb/activatingphponosx.htm#comment2 http://www.zathras.de/angelweb/activatingphponosx.htm#comment2 Uli Kusterer writes:
@Neil: /etc/apache2 is a symlink to /private/etc/apache2, so editing both should work just fine.
Comment 1 by Neil Nguyen http://www.zathras.de/angelweb/activatingphponosx.htm#comment1 http://www.zathras.de/angelweb/activatingphponosx.htm#comment1 Neil Nguyen writes:
Note that for Mac OS X 10.5 (Leopard), the httpd.conf file used by Apache is in a different location: /private/etc/apache2/httpd.conf.
There still exists a /etc/httpd/httpd.conf file, but editing that file will have no effect whatsoever. You must edit the one in the /private/etc/apache2 folder.