title: How to package PHP apps so they will work on any user computer?
body: <p>Is there a way to distribute a PHP program like a desktop app, so that even if the user of the app doesn't have a local server environment setup on there PCs, the app will still work?</p>
  
  <p>I was thinking, if there was some type of portable server environment program which includes PHP/Apache, then we could create a batch file which when clicked would start up apache in the portable program and launch the PHP app in the user's default browser. That way PHP apps could be distributed like desktop apps.</p>
  
  <p>But the question is, is there such a portable server environment program that can be used for this?</p>