Re: run php scripts from the commandline?

From: Date: Fri, 17 Nov 2000 09:28:33 +0000
Subject: Re: run php scripts from the commandline?
Groups: php.general 
Request: Send a blank email to php-general+get-25877@lists.php.net to get a copy of this message
Addressed to: "Jamie Alessio" <alessio@mvfx.com> =?iso-8859-1?Q?Mathias_K=F6rber?= <mathias@koerber.org> "PHP General List" <php-general@lists.php.net> ** Reply to note from "Jamie Alessio" <alessio@mvfx.com> Thu, 16 Nov 2000 18:12:31 -0800 > > > Is it possible to use PHP (called from the commandline) to > > generate these files, requiring the necessary library files? > > > You'll just need to compile PHP as a CGI executable and then you can run > it from the commandline. Assuming you are running some sort of unix just > run "./configure --with-??" (of course replacing the questions marks with > your actual option) and then run "make". Close. To make a CGI binary, you compile WITHOUT the options that connect it to a web server like: with-apache and with-apxs. It is what you leave out that counts... Rick Widmer Internet Marketing Specialists www.developersdesk.com

« previous php.general (#25877) next »