Re: Run webscript from command line

From: Date: Thu, 14 Nov 2002 19:03:05 +0000
Subject: Re: Run webscript from command line
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124470@lists.php.net to get a copy of this message
One way would be to use lynx. Another way is to compile php as a cgi as well as a module. Whenever I install / upgrade php on one of my systems, I compile it twice, with all the same options, save --with-apache. When you don't compile it with a webserver, you'll get the php executable, which I just move to somewhere like /usr/bin, and then you can run the script like this.... /usr/bin/php myscript.php Aate Drageset wrote:
Not specifically php-problem, but.. How could i run a php-script from command line (cron.daily) using no GUI or X ?? There should be some way of using a browser or comparable. my PHP is not enabled for command line script. Regards Aate Drageset
-- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#124470) next »