包装一个PHP MySQL的应用程序,以方便安装 [英] Packaging a PHP-MySQL app to allow easy install

查看:199
本文介绍了包装一个PHP MySQL的应用程序,以方便安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了PHP和MySQL的开源应用程序。我想它给最终用户安装他们的计算机上,并从他们的浏览器中使用无我有举办为他们。但最终的用户都是非开发人员,以便他们是不可能有什么需要运行应用程序(PHP的Apache当地环境会像开发人员),我没有时间,现在投资于学习Windows或苹果软件开发工具包,使一个真正的Windows或Mac的应用程序。也多数那些感兴趣的是朋友或他们的朋友。

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.

我正在考虑的解决方案是打包的PHP应用程序本身的Apache / MySQL的/ PHP的,并且有安装程序进行安装,以便应用程序可以通过www / htdocs文件夹中运行。这就像带有自己的服务器上运行的应用程序。

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.


  • 有没有人做过这样的事情?

  • 请我需要建立一个从Windows源码的Apache / PHP / MySQL的做到这一点,或者我可以采用某种利用现有的Windows可执行文件,并有我的安装只需要安装它们,在正确的位置我的应用程序的位置?

  • 我猜启动或关闭应用程序可以通过启动/停止Apache来完成,所以我会如何实现一个启动/停止,以配合到Apache的启动/停止。

  • 在这个任何帮助或想法将AP preciated。

推荐答案

您应该包括的拉链XAMPP你需要在htdocs文件夹ploaded应用$ p $的文件。你可以有用户将其解压缩到其C驱动器的根和包括如何启动Apache和MySQL某种README或指令。 XAMPP包括用于此目的的方便一点的控制面板。

you should include the zip of xampp with the files you need for the app preloaded in the htdocs folder. you can have the users extract it to their c drive root and include some sort of README or instructions on how to start up apache and mysql. xampp includes a convenient little control panel for this purpose.

编辑:

我个人使用XAMPP当我旅行,不能连接到我的主动开发服务器的所有时光。它奇妙的作品,并且包含都是一个文件夹中。它还不需要任何安装,只需解压包。一个警告:安装到任何地方,但C:\\ XAMPP是烦人

I personally use xampp all the time when I am traveling and can't be connected to my server for active development. it works wonderfully and is contained all in one folder. It also doesn't require any installation, you just unzip the package. one caveat: installing to anywhere but C:\xampp is annoying.

这篇关于包装一个PHP MySQL的应用程序,以方便安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆