Re: Running php from command prompt
| From: | MichaelWaples | Date: | Fri, 30 Jun 2000 17:16:28 +0000 |
| Subject: | Re: Running php from command prompt | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4075@lists.php.net to get a copy of this message | ||
"R. P. Channing Rodgers, M.D." wrote:
>
> > Corey Mosher wrote:
> > >
> > > Hello,
> > > Can anyone tell me how to run a php script from the
> > > command prompt?
> > >
> > > Thanks
> > >
> > php builder has a good tutorial on shell scripting with php
> > http://www.phpbuilder.com/columns/darrell20000319.php3
>
> Except that the instructions for building PHP seem to concentrate
> on building it as an Apache module, and you need to build the
> stand-alone CGI version to use it as independent scripting language,
> no? Anyone got pointers to instructions for building PHP that way?
>
> Cheerio, Rick Rodgers
>
just don't compile it with apache or apxs - you can use the --prefix
directive to say where to put it if you like.