try xampp www.apachefriends.org/en/xampp.html Code (markup): or abyss www.aprelium.com/ Code (markup):
Yeah, Xampp or WAMP. (Google Them); I use XAMPP, and it works well, it comes with the use of PHP, MySQL and more... ~ Mike
Do you mean how do you run PHP on the command line? As recommended above; install XAMPP (it's got PHP, Perl, Apache, PEAR etc) and then take a look at the command line examples here: http://uk3.php.net/features.commandline
If you're using a UNIX system install PHP and use it from the command line. Mac comes with it built in, all you have to is type 'php whatever.php' and it'll run. I've built IRC bots using PHP and the command line, it's weird using PHP for non-web stuff =P
If you have the CLI installed. php -f "script.php" Code (markup): php -r "echo \"something\n\";" Code (markup):