We do have a link:
ls /usr/bin/php -l
lrwxrwxrwx root root /usr/bin/php -> /etc/alternatives/php*

And:
ls /etc/alternatives/php  -l
lrwxrwxrwx root root /etc/alternatives/php -> /usr/bin/php-cli*

We use update-alternatives so when /usr/bin/php is called, it points to
php-cli (highest priority), or php-cgi (lowest priority), depending on
which one is installed.

If you don't have this link, it's probably because you forced
installation when the mirrors were out of sync...

Jean-Michel

Le lun 20/01/2003 � 09:21, Pascal Terjan a �crit :
> Hi
> Why don't we have a /usr/bin/php link pointing to /usr/bin/php-cli ?
> The usual name of the command is 'php' so scripts call it like that and providing it 
>would avoid having to patch all of them to allow them running on a mandrake.
> 


Reply via email to