Bug #19318
closedcli_dispatch.phpsh - /usr/bin/php: bad interpreter
0%
Description
If i call the cli_dispatch i get a error
/www/typo3/cli_dispatch.phpsh:
/usr/bin/php: bad interpreter: No such file or directory
thats because my PHP interpreter is here /usr/local/bin/php and NOT here usr/bin/php
One solution is to create a symlink but its not a good solution in my eyes...
cli_dispatch.phpsh: first line
#! /usr/bin/php -q
(issue imported from #M9333)
Updated by Stefano Cecere almost 16 years ago
i am having the same problem
i suggested a symlink, or at least to make a note in the INSTALL.txt
other solutions?
Updated by Stefano Cecere almost 16 years ago
i checked other CMS (Drupal, Sugar) and they don't have any #! /usr/bin/php -q lead line
and have common .php extension for their cron.php
could we do the same?
Updated by Francois Suter almost 16 years ago
If you type the full path to the PHP binary you should get no such error. For example, on my machine I type:
/usr/local/php5/bin/php /some/path/to/cli_dispatch.php
and it works like a charm.
Updated by Dmitry Dulepov almost 16 years ago
This is not a bug. Please, ask for solutions to your problems in mailing lists first and learn how to use *nix shell.
I will close this bug report in some days.