Granted, the iPad is not the best device to code on, but if it's technically possible the question is valid.
While that's interesting (albeit wildly not supported), it wasn't closed because there wasn't an answer: it was closed because setting up a LAMP environment isn't on-topic here.
To be honest, it's a pretty exotic and obscure problem: I'm not sure it'd survive on any site.
- A general question about setting up a LAMP environment would be on-topic for Super User, but they don't deal with iOS devices.
- A question about iOS devices would be on-topic for Apple, but they don't do development questions.
- Stack Overflow would be a fit if it's about general setting up of the development environment, but questions about getting Apache to run on non-conventional development machines would be off-topic and too localized.