Join The San Francisco PHP Meetup Group

You'll get invited to our Meetups as soon as they're scheduled!

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]