dsyak22488 2015-01-06 07:02
浏览 28
已采纳

在平板电脑/手机上部署php jqm移动应用程序[关闭]

I have tried using phonegap , but the php scripts do not work? Any other alternatives as to how the php jqm applications are deployed on tablet for testing?

  • 写回答

1条回答 默认 最新

  • dongshungou7699 2015-01-06 09:25
    关注

    PHP is meant to run on Proper Computer/Server as its a Server Side Language. So you need additional Software as the Browser does not have the ability to Interpret the PHP Language by Itself.

    However its not a dead end if you wish to run PHP and JQM on a Device by itself.

    On Android you can try KSWEB: server + PHP + MySQL Software which turns the device into a web server and includes PHP

    Out of interest i just tested this software and it works. If you have an Android device download and install the software. The web server starts automatically. Transfer your whole folder (jqm+php scripts you have) in the htdocs folder on the phone, open a browser and type (localhost:8080/the-name-of-the-folder) and your jqm + php scripts will run ok.

    https://play.google.com/store/apps/details?id=ru.kslabs.ksweb&hl=en

    Alternatively Check Ubuntu touch, http://www.ubuntu.com/phone i think you can install anything on that like a LAMP server which includes PHP. Its a good choice because stuff like that is free. except for the device.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 STM32 INMP441无法读取数据
  • ¥100 求汇川机器人IRCB300控制器和示教器同版本升级固件文件升级包
  • ¥15 用visualstudio2022创建vue项目后无法启动
  • ¥15 x趋于0时tanx-sinx极限可以拆开算吗
  • ¥500 把面具戴到人脸上,请大家贡献智慧
  • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
  • ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
  • ¥30 c#打开word开启修订并实时显示批注
  • ¥15 如何解决ldsc的这条报错/index error
  • ¥15 VS2022+WDK驱动开发环境