Re: bad interpreter error from CLI

From: Date: Fri, 13 Mar 2009 14:44:59 +0000
Subject: Re: bad interpreter error from CLI
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-290000@lists.php.net to get a copy of this message
On Fri, Mar 13, 2009 at 10:23, Thodoris <tgol@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
[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

« previous php.general (#290000) next »