From: "Jeff Steinport" on
Hello, I'm trying to use the script php-beautifier in linux and every time I
attempt to run the script, I get the error:

"@php_bin@": bad interpreter: No such file or directory

Can anyone help or offer suggestions?



Thanks,
Jeff
From: "Chuck Burgess" on
On Tue, Jul 1, 2008 at 12:20 PM, Jeff Steinport <jeff.steinport(a)gmail.com>
wrote:

>
> "@php_bin@": bad interpreter: No such file or directory
>

Ah, that looks like a value that gets replaced when you install the package
via the PEAR installer. If you're seeing that error, then it looks like the
package was not properly installed. Perhaps you had only downloaded the TGZ
file and unzipped it? It would appear that the package was not designed to
function using an unzip-and-go installation.

You *might* be able to get around that error by changing it to an absolute
path that points directly at your php executable (php.exe on Windows).
However, it's possible you may discover some other @foo@ occurrences that
would require some guessing on what to replace them with too.
--
CRB