Re: [PHP] PHP as a shell script

2001-07-09 Thread Kevin Pratt
Yep all done thanks... Kevin - Original Message - From: "scott [gts]" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Monday, July 09, 2001 1:26 PM Subject: RE: [PHP] PHP as a shell script > dont use --with-apxs or --with-apache > > ./

RE: [PHP] PHP as a shell script

2001-07-09 Thread scott [gts]
dont use --with-apxs or --with-apache ./configure --my-options make make test make install that should do it. > -Original Message- > From: Tyler Longren [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 09, 2001 3:07 PM > To: Kevin Pratt; [EMAIL PROTECTED] > Subject: Re:

Re: [PHP] PHP as a shell script

2001-07-09 Thread Tyler Longren
Just don't compile it with apache or some other web server. It should create the executable then. Tyler - Original Message - From: "Kevin Pratt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 09, 2001 12:01 PM Subject: [PHP] PHP as a shell script > Can anyone direct me

Re: [PHP] PHP as a shell script

2001-07-09 Thread bleythbe
ave to pass to > the compile of php to create > the php binary? > > Kevin > - Original Message - > From: "Ben Bleything" > <[EMAIL PROTECTED]> > To: "'Kevin Pratt'" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Se

Re: [PHP] PHP as a shell script

2001-07-09 Thread Kevin Pratt
Is there any special switches I have to pass to the compile of php to create the php binary? Kevin - Original Message - From: "Ben Bleything" <[EMAIL PROTECTED]> To: "'Kevin Pratt'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, Ju

RE: [PHP] PHP as a shell script

2001-07-09 Thread Ben Bleything
It's simple. Find your php binary (or build one if you don't have one)... I think 'which php' will find it. Then, write a php file with '#!/path/to/php -q' at the top. Use any one of the various execution methods to run your programs. Done! I've been doing this for quite a while. I find it e