如何在iPhone上安装(L | M)AMP堆栈?

I have a jailbroken iPhone 4 running iOS 4.3.3 upon which I want to run Apache, MySQL, and PHP. All of the information I've found is hopelessly out of date.

Are there packages I can install through Cydia or apt-get for this?

Any prodding in the right direction is much appreciated!

It seems there are people who tried this - http://www.ipadforums.net/ipad-hacking/24007-running-php-server-ipad.html and http://claytond.com/2007/11/07/an-iphone-powered-apache-web-server-with-php/

But I don't see mysql, also read comments some reported that preg_match wasn't working. Could be handy, but you gotta run all your tests before unleashing the power :)

Here is Cydia solution: lighttpd/php/mysql web stack.