Years ago I created a linux executable with Xojo (formerly RealBasic) that would compile to a single file, let us call it Test. From a PHP script I could launch that executable with a command like this:
shell_exec(“Test”);
Later Xojo started building executables with an external folder named Test Libs that holds needed libraries instead of embedding them in the executable itself. With this new architecture, I can no longer launch the linux executable from a PHP script.
I have tried creating a console app, but still stores library files in the external Libs folder so they cannot be found when launching the executable from a PHP script.
I tried sudo to launch the executable with the root password, but that also fails to find the libraries.
Any ideas on how to launch a Xojo generated linux executable from PHP?