Hello Fred, this is quite simple. The cli version is automatically compiled, but not installed. Have look in your build directory. You'll find it!
All you have to do is to add a couple of lines to the php5.mk file and install the cli version as well into your preferred directory. If you are using unionfs today, you can even just copy the executable over to your existing system and do some initial testing. regards, Ingmar Fred wrote: > 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] ------------------------------------------------------------------------- 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]
