CGI-PHP (dumb newbie strikes again)

From: Date: Fri, 05 Jan 2001 22:21:27 +0000
Subject: CGI-PHP (dumb newbie strikes again)
Groups: php.general 
Request: Send a blank email to php-general+get-32959@lists.php.net to get a copy of this message
This is another dumb question. I complied php as a cgi so I could run scripts from the shell. Just for a test I tired the following script name myphptest.php #!/usr/bin/php phpinfo(); Unfortunately when I type ./myphptest.php at the prompt I'm told ./myphptest.php: Command not found. I've tired several really simple scripts and they all come back the same. Can someone tell me what I'm doing wrong?? Thanks

« previous php.general (#32959) next »