On Tue, 2003-05-27 at 11:03, Kurt Didenhover wrote:
> I have php 4.3.1 installed on Mandrake 9.1, but I can't run executables 
> from the command line and I would like to. Is there a way, without 
> reconfiguring php to enable that and put and executable php command in 
> usr/local/bin ?

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

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


Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to