Is there an app on iphone that can run Php+html+js?

Source: Internet
Author: User
Tags php database
Now the work is more idle. If you have an environment that you can run on your phone. You can also ask for referrals on ipad

Reply content:

With this website, any code can be written.
Compiling execution Code Online Equipment: ipad (or iphone)
version: iOS7 (any version of the theory can be, as long as JailbreakOn the line)
Skills Required: Familiar with Linux

* In fact, Cydia is the Debian department, APT has a bad outfit, Jailbreak Jailbreak Jailbreak

steps:
1. Install OpenSSH from Cydia after jailbreak, please refer to reference Link 1 for username and password
2. Install PHP database webserver; Command apt-get install PHP lighttpd
(Sqlite3 vim optional installation, if you want to use the database, the SQLite bar, after all, the old device performance is limited)
3. Start fastcgi on port 9000, command nohup php-cgi-b 127.0.0.1:9000 >/dev/null 2>&1 & 3. Start fastcgi on port 9000, command nohup php-cgi-b 127.0.0.1:9000 >/dev/null 2>&1 &
(This is because there is no netstat command to see, but the PS command can see the current TTY) (This is because there is no netstat command to see, but the PS command can see the current TTY)

4. Refer to the Reference link 2 write the configuration file and start lighttpd
by the way, attach my boot configuration: By the way, attach my boot configuration: https:// gist.github.com/582033/ ad9d6452ae337d1476b0bc7be8bc793b )

5. Access your ipad's IP


Reference Links:
1.OPENSSH: https:// Cydia.saurik.com/openss h.html
2.WEBSERVER-LIGHTTPD: / http REDMINE.LIGHTTPD.NET/PR ojects/lighttpd/wiki/tutorialconfiguration
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.