如何捆绑1点击运行PHP应用程序/安装 [英] How to bundle a php application with 1 click run/install

查看:143
本文介绍了如何捆绑1点击运行PHP应用程序/安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建的小企业PHP应用程序。有些客户可能preFER在本地服务器上运行的应用程序,所以我的要求是创建/捆绑与Apache / MySQL的/ PHP应用程序的所有必要的confirguration和点击可执行文件(可能是一个批处理文件)等当用户打开它,它运行某个端口上的Apache服务器本地主机说:1234和MySQL,以及

I create php application for small businesses. Some of the clients may prefer running the app on a local server, therefore my requirement is to create/bundle an app with apache/mysql/php with all the necessary confirguration and one click executable (be it a batch file) such that when the user opens it, it runs the apache server on some port say localhost:1234 and mysql as well.

和开辟了默认Web浏览器应用程序。

and opens up the application in the default web browser.

要更准确,林寻找类似 http://www.simpleinvoices.org/go,检查他们的Windows简单发票哪来与Apache / PHP / MySQL的budled。

To be more exact, Im looking for something like http://www.simpleinvoices.org/go, check their Simple Invoices for Windows which come budled with apache/php/mysql.

P.S - 林不知道,如果这个问题应该在SO或超级

P.S - Im not sure if this question should be at SO or Superuser.

推荐答案

超级用户会比较好。但是,根据您的要求,你应该创建一个包来安装。在Windows上,WAMP包了,在Linux上,将其打包带任一键安装或两个最大的系统,即APT和RPM创建软件包。随着所有这些依赖系统可以确保,你的应用程序运行了蝙蝠的权利。

Superuser would have been better. But depending on your requirements, you should just create a package to install. On windows, package it with WAMP, on linux, package it with either one-click-install or creating packages for the two biggest systems, namely APT and RPM. With the dependency-system on all of them you can make sure, that your application runs right off the bat.

这篇关于如何捆绑1点击运行PHP应用程序/安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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