本文介绍了在 Android 上运行 AMP(apache mysql php)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在一个开源电子商务平台上工作,我正在尝试确定是否可以部署可以在平板电脑上运行的离线版本.我希望使用 iPad,但事实证明这非常困难(不可能?)

I currently work on an open source e-commerce platform and I am trying to work out if I can deploy an offline version that can run on an tablet. I was hoping to use an iPad but this has proved very difficult (impossible?)

a) 有谁知道可以在平板电脑上运行的 AMP (apache mysql php) 版本 - 例如.安卓?

a) Does anyone know of an AMP (apache mysql php) version that will run on a tablet - eg. Android?

我们的想法是拥有一个本地版本的在线商店,销售代表可以在向批发客户销售时使用该版本将订单存储在本地,直到他们找到 WiFi 或 3G 信号,此时它将新记录合并到网络服务器.

The idea is to have a local version of the online store that sales reps can use when selling to wholesale customers that will store the orders locally until they find a WiFi or 3G signal at which point it will merge the new records into the webserver.

如果我能让 Apache、MySQL 和 PHP 在本地运行(就像它使用 WAMP、MAMP、LAMP 等那样),那就太好了,因为该应用程序无需互联网连接即可使用.

If I could get Apache, MySQL and PHP to run locally (like it does using WAMP, MAMP, LAMP, etc.) it would be great as the app would be usable without an internet connection.

问候,

推荐答案

终于——有人发布了完整的包!

Finally - someone has released the full package!

Bit Web Server(AMP;另见 他们的主页) 在 Android 上运行的堆栈.不需要黑客攻击.不过要付 2 美元!

Bit Web Server (AMP; also see their homepage) stack running on Android. No hacking required. $2 to pay though!

如果您正在寻找适用于 iOS 的堆栈,那么 cydia-ios-lighttpd-php-mysql-web-stack 可以解决问题:应该运行 lighttpd + php 5.4 + mysql - 不幸的是只能在越狱设备上运行.

If you are looking for a stack for iOS then the cydia-ios-lighttpd-php-mysql-web-stack does the trick: Should run lighttpd + php 5.4 + mysql - unfortunately only on jailbroken devices.

如果有人感兴趣,我已经切换到 Windows 8 平板电脑,它可以愉快地运行所有开源 AMP 堆栈.运行得非常好,加上一些 Bootstrap 样式,我有一个功能齐全的销售订单应用程序".只需少量代码即可同步回在线版本 - 每个用户每月无需在 HandShake 或类似产品上花费 50 美元.

In case anyone is interested I have switched to Windows 8 tablet which happily runs all of the opensource AMP stacks. Runs very nicely and with a bit of Bootstrap styling I have a full feature sales order "app" for nothing. Little bit of code to sync back to the online version - no need to spend $50 per month per user on HandShake or similar.

这篇关于在 Android 上运行 AMP(apache mysql php)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-21 03:40