Re: run php scripts from the commandline?

From: Date: Fri, 17 Nov 2000 02:12:31 +0000
Subject: Re: run php scripts from the commandline?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25842@lists.php.net to get a copy of this message
> 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". You'll then find a binary file named "php" that you can run from the commandline just like Perl. I just did this today and it works great. - Jamie

« previous php.general (#25842) next »