PHP runtime

Discussion in 'iOS Jailbreak & Cydia' started by mrbutter, Apr 15, 2008.

  1. mrbutter

    mrbutter New Member

    Jan 28, 2008
    Likes Received:
    alright so I have a basic knoledge of PHP and have written a few things on it on my PC.

    I'd like to be able to do it on my ipod as well.

    I installed Apache and PHP runtime but I dont know what to do now...

    When I installed PHP runtime it said to set $PATH to /opt/iphone/bin/

    so I googled and it said to type this into SSH

    export PATH

    Did that, restarted ipod...still I'm not sure what I'm supposed to do. How can I make php files and test them out on the ipod? Also, is there a way to get mysql on it?

    Thanks for any help.
  2. krysus

    krysus New Member

    Dec 26, 2007
    Likes Received:
    You also need to edit your Apache httpd.conf file

    Full instructions are in the thread "Apache / PHP Tutorial", or add my repo for a suitable copy:
    It's under Multimedia -> iphpPod Apache httpd.conf

    The you simply SSH in, and put .php / .htm files into /Library/WebServer/Documents/ <- this is your default Apache server 'root'.

    To access any pages, enter<filename> into Safari, e.g.

    EDIT: Wahey! My 100th post!

    Please Register or Log in to view images

Share This Page