Hello I'd rather use the same language to write command-line scripts and CGI scripts. By default, the PHP5 package compiles the CGI version, which prints HTML outputs even with the "-q" switch:
though I added the "-q" switch on the shebbang line, PHP still outputs some HTML: ========== #!/usr/bin/php -q <?php echo "test"; ?> # ./test.php X-Powered-By: PHP/5.2.5 Content-type: text/html test# ========== Do you know if the AstLinux version of the package can compile the two versions, or is the CGI the only version available? Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
