Home  >  Article  >  Backend Development  >  iPhone上有没有app可以运行PHP+html+js?

iPhone上有没有app可以运行PHP+html+js?

WBOY
WBOYOriginal
2016-06-23 14:02:031419browse

现在的工作比较空闲。 如果有可以在手机上运行的环境就好了。iPad上有也可以 求介绍求推荐

回复内容:

用这个网站,什么代码都能写。
在线编译执行代码 设备:ipad(或者iphone)
版本:ios7(理论任何版本都可以,只要越狱了就行)
需要技能:熟悉linux

* 其实cydia就是debian系啊,apt有了啥不好装,越狱越狱越狱

步骤:
1.越狱后从cydia中安装openssh,用户名密码请参照参考链接1
2.安装php database webserver; 命令 apt-get install php lighttpd
( sqlite3 vim 可选安装,如果你想用数据库的话, 就sqlite吧,毕竟老款设备性能有限)
iPhone上有没有app可以运行PHP+html+js?3.在9000端口上启动fastcgi;命令 nohup php-cgi -b 127.0.0.1:9000 > /dev/null 2>&1 &
iPhone上有没有app可以运行PHP+html+js?(此处因为没有netstat命令没法看,但是ps命令可以看到当前的tty)
iPhone上有没有app可以运行PHP+html+js?
4.参照参考链接2写好配置文件并启动lighttpd
iPhone上有没有app可以运行PHP+html+js?顺便附上我的启动配置: gist.github.com/582033/)

5.访问你ipad的ip
iPhone上有没有app可以运行PHP+html+js?

参考链接:
1.openssh: cydia.saurik.com/openss
2.webserver-lighttpd:redmine.lighttpd.net/pr
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn