Try using HipHop from Facebook. This compiles PHP down to highly optimized C++ and works on Linux. You’d have to try compiling and installing it yourself, but once you got it compiled down to C++ you can now use g++ or any other C++ compiler to create for yourself a nice executable (though not .exe as it’s linux only). However, since the bulk of it will be in C++ it would be easier to modify it to run on windows.
0
solved how to convert php script to exe? [closed]