Cool thanks Phil. Would it be appropriate to add more content to the PHP section about php5-cgi version php5-cli? I guess my thought is something about using php5-cgi and an example using PHP from the command line.<br><br>
<div><span class="gmail_quote">On 9/4/07, <b class="gmail_sendername">Phil Bull</b> <<a href="mailto:philbull@gmail.com">philbull@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Adam,<br><br>On Tue, 2007-09-04 at 07:42 -0400, Adam Sommer wrote:<br>> That's definitely a valid question, because the file /usr/bin/php5-cgi<br>> that's installed with the php5-cgi file does allow you to execute PHP
<br>> scripts from the command line (found out after posting). However the<br>> php5-cli package installs /usr/bin/php, which is a symlink<br>> to /etc/alternatives/php, and /etc/alternaitves/php is intern a<br>
> symlink to /usr/bin/php5. Also, the output of dpkg -l php5-cgi is:<br>><br>> server-side, HTML-embedded scripting language (CGI binary)<br>><br>> and the dpkg -l php5-cli is:<br>><br>> command-line interpreter for the php5 scripting language
<br>><br>> Just my opinion, but I think of executing a PHP script from the<br>> command line I think of php script_name.php (just my experience<br>> though). This may have been discussed on another mailing list or in
<br>> the past as well.<br>><br>> I missed a reference to php5-cgi in the original diff file so here's a<br>> new one. Either way thanks for considering it.<br><br>Thanks, I've applied your patch to SVN trunk (revision 4321) - it does
<br>seem to be the more sensible option in the context of where it's used.<br><br>Thanks again,<br><br>Phil<br><br>--<br>Phil Bull<br><a href="http://www.launchpad.net/people/philbull">http://www.launchpad.net/people/philbull
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Party On,<br>Adam