Re: bad interpreter error from CLI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, Mar 13, 2009 at 10:23, Thodoris <tgol@xxxxxxxxxx> 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`


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

[root@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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux