[TYPO3-dev] CLI scripts want default /usr/bin/php path for PHP - otherwise error

stefano cecere scecere at krur.com
Mon Nov 24 22:17:24 CET 2008


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