///EDIT

replace touch-lighttpd-php-mysql with ios-lighttpd-php-mysql

What you will need;

Jailbroken iPhone/iPod/iPad

io-lighttpd-php-mysql (much easier than installing everything manually)

A copy of a PHP based proxy, such as PHProxy or Zelune.

Open SSH

Steps

Find ios-lighttpdphp-mysql on cydia install, then restart springboard Open safari and head to http://localhost/ . If you see this page it means everything is working so far. Download a copy of your desired proxy. There is a link to PHProxy up the top of the page. On your computer open up your SSH client such as Cyberduck or Transmit and add the following information

Type: SFTP

Host: your devices ip (which can be found by opening the settings app, tapping on wifi and pressing the blue arrow next to your wifi networks’ name)

User: root

Password: alpine (if you have changed it, which is recommended, then replace alpine with your password)

Navigate to /var/www and copy all of the files inside your PHProxy folder on your computer into this directory. Delete index.html and adminer.php from /var/www On your computer open your devices IP in your browser. If you get a page like this congratulations it worked, if not go back through the steps carefully You are now free to browse your favourite sites. If you are planning on leaving you device at home on your wifi network while you use the proxy at school/work I suggest getting Insomnia from Cydia. Also make sure you portforward your router so that the proxy can be accessed from your external IP.

If you have any questions please feel free to message me on reddit or email me at mcinnes [at] icloud [dot] com