Error exe on Startup

I have a big Problem with exeoutput.

Sometimes the exe run fine.
Sometimes i get different error msgs from exeoutput and the system crash.

Something like error load php.dll
error log is in this case not written.

From 10 times to start the program maybe 8 successful, but 2 crash.

And there some other things to.

If I exclude the dll files from php, the DLLs not loaded by exeoutput.

And a little design error on printing.

i find my problem (i think so)

My PHP was using inside unix path
i change it to Windows path.

When I use a network share path to make the call, it works.
However, when I access a folder share using a UNC path, the program also starts, but I only receive the error message ‘no input file specified.’

What do I need to do to make it work with both network share and UNC path?

The issue you’re facing is related to the way PHP and the virtualized environment in ExeOutput for PHP handle paths, particularly with UNC (Universal Naming Convention) paths. In ExeOutput for PHP, the virtual file system does not natively support UNC paths, which is why you’re encountering the error message “no input file specified” when attempting to use such paths.

Here’s what you need to do to work around this issue:

  1. Use Mapped Drives: Instead of using UNC paths (e.g., \\server\share\folder), you can map the network share to a drive letter on your Windows machine (e.g., Z:\folder). This approach is more compatible with how ExeOutput for PHP handles paths.
  2. Local File Access: If possible, copy the EXE file to a local directory to ensure that the application is running on a local drive.
  3. Path Translation Logic: If your application dynamically constructs file paths, implement logic in your PHP code to convert UNC paths to mapped drives or local paths before passing them to functions that require file access.