Subject: Re: bug#76955: 30.1; php-ts-mode-php-executable default path may not match remote path

From: Michael Albinus <[email-masked]>
Date: Thu, 13 Mar 2025 18:53:36 +0100

Eli Zaretskii <[email-masked]> writes:

Hi Eli,

> If executable-find fails to find the PHP binary on the remote host,
> how can using "php" which you suggested do any better?

Because the PATH you set in your remote .profile isn't expanded by
default into tramp-remote-path. You must arrange for it, for example by
adding symbol tramp-own-remote-path into that list.

(info "(tramp) Remote programs")

Best regards, Michael.