On Tue, 2003-05-27 at 11:06, David Smith wrote:
> It should automagically have put a php binary in /usr/local/bin for you
> when you did "make install". Then, just put this on the top of all your
> PHP files:
> 
> #!/usr/local/bin -q

That should be 
#!/usr/local/bin/php -q

or

#!/usr/bin/php -q


Also, you'll have to ./script.php, since the current directory is not
(and typically should not be) in the path.

Michael


> 
> The -q makes it not spit out "Content-type: text/html" and stuff when
> you run it. Then, just chmod u+x the file and you should be able to run
> it.
> 
> --Dave
> 
> 
> 
> ______________________________________________________________________
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- 
Michael L Torrie <[EMAIL PROTECTED]>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to