On Fri, Mar 13, 2009 at 10:23, Thodoris <t...@kinetix.gr> wrote:
[snip!]
Both commands return the same path.

    .... and that path, I'll presume, is the same you have set in the
script, right?  Please offer as much information as you can with each
email to speed up the troubleshooting process.  ;-P

    What's the output you get from the following (copied exactly)?

        ls -l /usr/bin/php
        ls -l `which php`


[r...@foo tmp]# ls -l /usr/bin/php
-rwxr-xr-x 1 root root 2702972 Nov 12 16:24 /usr/bin/php

[r...@foo tmp]# ls -l `which php`
-rwxr-xr-x 1 root root 2702972 Nov 12 16:24 /usr/bin/php

I did mention that it works using php -f didn't I?
So it actually finds the binary because it is in the path :-) .

--
Thodoris

Reply via email to