You would create it on your own ...

mkdir ~/.MacOSX; nano ~/.MacOSX/environment.plist

This is what my file looks like, YMMV ...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>RUBY</key>
        <string>/opt/local/bin/ruby</string>
        <key>CVS_RSH</key>
        <string>ssh</string>
        <key>SSH_AUTH_SOCK</key>
        <string>/tmp/501/SSHKeychain.socket</string>
        <key>PATH</key>
<string>/bin:/opt/local/bin:/usr/bin:/usr/sbin:/usr/local/ bin:/Applications/MAMP/Library/bin/</string>
</dict>
</plist>

I found this out after noticing a few GUI-based apps would not run if the executable wasn't available, more info is here ... http:// developer.apple.com/qa/qa2001/qa1067.html

I still have no idea if this is based on say Cocoa apps which need to run CLI-based apps (I ran into this when TextMate would not run svn or a few commands).

- Jon

On Feb 14, 2007, at 6:50 PM, Cliff Hirsch wrote:

The key is just to make sure that your PATH is pointing to the correct apachectl (even the one in ~/.MacOSX/environment.plist)

- Jon

I don’t see that file. Where is it?
_______________________________________________
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

_______________________________________________
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

Reply via email to