Add php runtime to allow running php scripts locally. I have kodiak installed on my ipad which does just that. Textastic could benefit.
Textastic offers syntax highlighting for many languages, but it doesn't include compilers or interpreters due to restrictions of iOS.There are apps on the App Store that can execute code: Python for iOS, Codea, Kodiak come to mind. But due to the same iOS restrictions they can't offer code sharing features like FTP, Dropbox or "Open In".
Also have a look at Kodiak's FAQ section at http://www.becomekodiak.com/faq.html
CAN I IMPORT MY PROJECT INTO KODIAK PHP? WHAT ABOUT FTP AND DROPBOX SUPPORT?In the current version we don't have FTP or Dropbox because of Apple's restrictions. They don't allow code-executing apps to also import the code. We are currently working on a solution to allow importing files.
Customer support service by UserEcho