[TYPO3-dev] CLI scripts want default /usr/bin/php path for PHP - otherwise error
stefano cecere
scecere at krur.com
Mon Nov 24 22:39:09 CET 2008
there is already a bug here:
http://bugs.typo3.org/view.php?id=9333
but why to use the .phpsh extesion? couldn't it be jsut simple .php?
other cms don't have that #! /usr/bin/php -q
is it mandatory?
stefano
stefano cecere wrote:
> on a client's server the CLI PHP is not in common location
> /usr/bin/php
> but somewhere else
>
> this brings the problem that the cli scrips (dispatch and workspaces for
> example) don't work properly.
>
> the first line of the two scripts is:
>
> #! /usr/bin/php -q
> <?php
>
>
> how could we make this path configurable?
>
> or maybe simplier, we should put in the INSTALL.txt that the cli scripts
> expect php to be here /usr/bin/php
> if it's not there, maybe a symlink is suggested.
>
> what do you think?
>
> stefano
More information about the TYPO3-dev
mailing list