I have a PHP/MySQL powered SaaS application which I want to deploy an offline version of. I don't want to use any of the numerous PHP GUI tools that are out there, as this would require rebuilding the GUI and I want it to look exactly the same as the web version.
I want to run Apache/MySQL servers (or something similar) on the clients' systems and somehow compile the PHP code so the source code isn't visible. What is the best way of doing this? Ideally I want to have one .exe file that would start/stop the server.
The following is a very similar question, but it is related to Python and not PHP: Create application for web & desktop