[TWITTER:USER:phpforandroid:5] follow us on Twitter


#;; #;;

PHP for Android project (PFA) aims to make PHP development in Android not only possible but also feasible providing tools and documentation.

We currently have an APK which provides PHP support to SL4A (PhpForAndroid.apk) and we're working in a manual.

Irontec is the company behind this project. About this project

FAQ (Frequently Asked Questions)

Getting help, getting involved

Google groups
Subscribe to PhpForAndroid discussion group
Visit this group

Issue tracker (problems and feature requests) :

Besides, a few wiki pages have a comment system at the bottom (this one e.g).


SL4A (Android Scripting Environment) is a Google-mantained project which “brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device”.

PhpForAndroid-APK provides PHP support to SL4A.



min: Android OS 1.5 (phone or emulator)

Enable “Unknown Sources” under Application settings.

Install SL4A (Android Scripting Environment)


Download SL4A

SL4A only comes with a shell interpreter by default.

Install PhpForAndroid.apk


Download latest release (Releases page)

Once installed, run it and tap on “Install”.

The PHP binary and the scripts will become available to SL4A.

Now!, run SL4A. You should be able to see PHP demo scripts and they should work!.

Doesn't it work? Please, try uninstalling and installing again (this is alpha software).

Still not working? Fill this survey please:

Getting started

The real time ways (no more install, no SDK, nothing required)

1. Add/Edit PHP scripts on your mobile

SL4A allows you to add or edit scripts on your mobile.

2. Use testnow.php

“allow_url_include” is On by default so you can include your code easily.

Include your own internet publicly available script. You'll find an already installed php script called “test.php”:

include(""); // ".txt" extention required to prevent parsing

TODO Tell about remote, using SDK…

How to distribute your PHP script as APK


We're working in a manual with all this information and more:



Check out our screencasts for easy installation on your terminals.


Fill the following survey:

or leave a comment with the following info: brand, model, android version and a brief text with the problem.

or join the pfa group and tell us.


start.txt · Last modified: 2010/10/31 17:49 by admin   Back to top
Powered by DokuWiki RSS: cambios recientes Irontec