I'm using the flatpak version of Atom. I want to install a linting package for PHP, so that code errors are easier to spot. However it requires access to a php binary.
Now since this is a Flatpak, it's sandboxed so no chance of me giving it proper access to the /usr/bin directory any time soon, but I discovered I could use a Flatpak runtime of PHP 7.4 called org.freedesktop.Sdk.Extension.php74, which should provide me with what I need.
The only question that's left for me is how do I pass this to the package? The setting I'm provided with is a path text field, where I'd normally pass it the /usr/bin/php path, but how do I invoke the flatpak equivalent to that?