Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Packaging a PHP-MySQL app to allow easy install [closed]

I've developed an open source application in php and mysql. I'd like to give it to the end user to install on their computer and use from their browser without me having to host it for them. But the end users are non-developers so they're unlikely to have what it takes to run the application (php-apache local environment like a developer would) and I don't have the time right now to invest in learning the Windows or Mac SDKs to make a real windows or Mac application. Also most of those interested in it are friends or their friends.

The solution I'm considering is to package apache/mysql/php with the php app itself, and have the installer install them so the app could run from inside the www/htdocs folder. It's like an app that comes with its own server to run it.

  • Has anyone done this sort of thing before?
  • Do I need to build apache/php/mysql from source on windows to do this, or can I somehow use existing windows binaries and have my installer just install them and position my app in the right location?
  • I'm guessing that launching or closing the application could be done through starting/stopping apache, so how would I implement a start/stop to tie into the apache start/stop.
  • Any help or ideas on this would be appreciated.
like image 665
lok Avatar asked Aug 09 '10 02:08

lok


People also ask

Do I need to install PHP after xampp?

To run PHP for the web, you will need to install a web server like Apache and a database like MySQL – and both are supported by XAMPP. XAMPP is a local server that can run smoothly on our personal computer, and is accepted in both Windows and Linux.

How do I know if my LAMP stack is installed?

1) Find file with name "apache2" in your pc. It will return list of path where a file name called "apache2" exists. You can then cross examine it further. 2) Run the above same command to find file "mysql" and follow the same procedure further.


1 Answers

Have a look at BitNami Stacks, should definately have want you need in terms of a WAMP setup

like image 100
Stoosh Avatar answered Nov 15 '22 22:11

Stoosh