[TYPO3-core] RFC #16957: Bug: cli_dispatch.phpsh ignores PATH to php and assumes it's in /usr/bin/

Jeff Segars jsegars at alumni.rice.edu
Mon Jan 10 23:18:02 CET 2011


On 1/10/11 4:14 PM, Andreas Lappe wrote:
> On 10.01.11, Ernesto Baschny [cron IT] wrote:
>> The above mentioned trouble is "documented" even on Wikipedia [1] under
>> "Portability".
>> I think we don't need the "-q" parameter. What does it do? It is not
>> even documented in PHP 5.2.x? Without it, it should be the most portable
>> solution.
>> Cheers,
>> Ernesto
>> [1] http://en.wikipedia.org/wiki/Shebang_%28Unix%29
>
>      -q     Quiet-mode. Suppress HTTP header output (CGI only).
>
> This might be due to the difference of using the real cli-version or the
> cgi-version in shell…
>
> So long
> Andy

I haven't found an official statement, but comments around the web 
indicate that -q is deprecated (and now turned on by default) since PHP 
5.2.  "php -h" does not include it in the list of options.


More information about the TYPO3-team-core mailing list