Re: Running PHP scripts from the shell

From: Date: Mon, 11 Mar 2002 14:09:11 +0000
Subject: Re: Running PHP scripts from the shell
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88004@lists.php.net to get a copy of this message
On Mon, 11 Mar 2002, Jason Wong wrote: > On Monday 11 March 2002 20:18, andy thomas wrote: > > Just wondering but is there any way PHP scripts can be run from the > > command line from a standard Unix shell like, for example, perl rather > > than being invoked via a browser and running web server, etc? > > > > Such a feature would be very nice as there are a number of things that > > can be done better from PHP than from a shell script - MySQL access being > > one of them. > > PHP can be compiled as a stand-alone program (for use as CGI & thus shell > scripting). See manual, "Installation" for details. I will try doing this, thanks a lot for the suggestion. Andy

« previous php.general (#88004) next »