I have found a reasonably good guide to making your iPhone iOS device into a Apache HTTPD server, and I will be updating this page as time goes on. This is only missing MySQL, and preferably a more native build of apache.
First off, make sure you have jailbroken your iPhone iOS device, and have installed the app installer. Make sure you have the Community Sources installed or you will not be able to install Apache HTTPD server or PHP.
Installation of Apache
This is pretty painless.
First, install from the app installer the apache package. Once installed it will look as though nothing was installed (There is no icon added to the app list).
Computer programs that enable wireless telephone handsets to execute software applications, where circumvention is accomplished for the sole purpose of enabling interoperability of such applications, when they have been lawfully obtained, with computer programs on the telephone handset.
Which means the very existence of this website can be deemed legal!
In the future, we hope to be a hub for iPhone (iOS) web server technology. We believe that iOS devices are the future of the internet, due to their compact size, affordable nature, and solid state construction.