PHP on command line not working...

From: Date: Fri, 25 Apr 2003 01:16:35 +0000
Subject: PHP on command line not working...
Groups: php.general 
Request: Send a blank email to php-general+get-145213@lists.php.net to get a copy of this message
I've been trying for about 6 hours to get the PHP CLI working Mac OS 10.2.4 but am not having any luck. Anyone have any suggestions? //Make the PHP CLI binary [my-Computer:/apps/php-4.3.2rc1] myusername# make install-cli <lots of compiler messages here, then...>
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
// Verifying that "php" is actually there... [my-Computer:/usr/local/bin] myusername% ls /usr/local/bin
Magick++-config      convert              montage              pack_isam            php-config           resolve_stack_dump
Magick-config        identify             my_print_defaults    pear                 phpextdist           resolveip
comp_err             isamchk              myisamchk            perror               phpize
composite            mogrify              myisampack           php                  replace
// try to get info from the command line [my-Computer:/usr/local/bin] myusername% php -v php: Command not found. // Since the cli lib is clearly where the documentation says it should be and I'm sure I missed something, but multiple readings of "http://www.php.net/manual/en/features.commandline.php" hasn't gotten me any closer to getting this thing working. Are there some out of the way config variables that need setting? Some files that need to be moved manually? Any help appreciated. Thanks Ken P.S. PHP is working great inside my browser, I just can't get the CLI working...

« previous php.general (#145213) next »