Run Apache / PHP / MySQL (CakePHP) application on a USB stick?

Hi,

I have an existing CakePHP that runs on a LAMP environment and need to install it on a USB drive for mass public distribution.

There are a few requirements:

  • Protect the source code
  • No installation required
  • Windows support essential
  • MAC & Linux would be a bonus
  • Must run offline, without Internet connection
  • Ability to sync with server for data transfer and updates

I have conducted a large amount of research into the options and am keen to learn what other developers think.

Potential solutions:
- Flash / XML
- Adobe AIR app
- USB webserver (Server2Go, Portable Apps XAMPP)

Has anyone used any of the above, any comments would be greatly appreciated.

Thanks