configure zf on a mac with leopard, zf.sh can't find php executable

From: Janis Rough
Sent on: Monday, September 21, 2009 12:06 PM
:-(
Hi, sorry but I can't figure this out and could use any suggestion.  It might be a unix answer but zend fw cannot find the php executable.  I put zend framework library in /usr/bin/mypear/zend  .  I also put the zf.sh and zf.php in that directory.

When I do /usr/bin/mypear/zend/sf.sh create project quickstart I get this error message.
/usr/bin/mypear/zend/zf.sh: line 44: php: command not found

line 44 of zf.sh tries to find the php executable.
I don't have a .profile file in my home directory and I could create one but i don't know what the environment Path variable is or how to create one.  i do have a PATHS file in  /etc
can i put the  zend path in there at the bottom or do I have to create a .profile file?
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
Janis L. Rough

C:[masked]

Our Sponsors

GameSpot.com

GameSpot.com & CBSi provides the facilities our group uses every month.

O'Reilly User Group Program

The O'Reilly User Group Program provides the great books we get monthly.

Other nearby
Meetups
Why these groups?
x

The Meetup Groups shown here are topically similar to The San Francisco PHP Meetup Group.

Groups are more likely to be displayed here if they:

  • have a Meetup scheduled
  • have a high rating
  • have a group photo
  • are "public" and not "private"
  • have shown they are likely to stick around (older than 30 days)

Log in

  • Not registered with us yet?
or

Log in to Meetup with your Facebook account.

Sign up

or

Join this Meetup Group even quicker with your Facebook account.

By clicking the "Sign up using Facebook" or "Sign up" buttons above, you agree to Meetup's Terms of Service