21.2 Command-line scriptingThis is NOT the latest copy of this book; click here for the latest version.
A Command Line Interface Server Application Programming Interface (CLI SAPI) has existed for PHP since v4.2, but only with the release of 4.3 did it come to maturity. In PHP 5 it is built automatically, and can be configured to be installed automatically also. Although you can use the code given here in previous versions of PHP, you may encounter problems with versions prior to PHP 4.3.
|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|