Project

General

Profile

Actions

Bug #19318

closed

cli_dispatch.phpsh - /usr/bin/php: bad interpreter

Added by Julian Kleinhans over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-09-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Stefano Cecere over 15 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?

Actions #2

Updated by Stefano Cecere over 15 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?

Actions #3

Updated by Francois Suter over 15 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.

Actions #4

Updated by Dmitry Dulepov over 15 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.

Actions

Also available in: Atom PDF