View on GitHub


A PHP Webserver for android

Download this project as a .zip file Download this project as a tar.gz file

Welcome to the DroidPHP project

DroidPHP is a free open-source Web Server for Android.It is properly supported on Android 2.3.3 or Higher.

DroidPHP requires 50mb of internal storage for installation on unrooted phones.


List of Features supported by DroidPHP


You can easily checkout latest version

Problem on compiling / not a developer


This project uses the Open Source Library such as

Frequently Asked Questions

Have a question that is not listed on this page? See the "Direct Contact" section of the support page.

Where to put PHP Script or HTML file & how to access it? You can put it inside htdocs/www and access it from http://localhost:8080
I have updated lighttpd.conf / php.ini / mysql.ini but contains error? Remove directory htdocs/conf and start the server again it will automatically restored.
Still getting Error / Server is not working Please, check the log file inside htdocs/logs
How can i access phpmyadmin You can access phpmyadmin from web browser by opening http://localhost:8080/phpmyadmin)
Supported Browser ? Currently, I've tested it will WebKit(android's default browser) and UCWeb (use instead of http://localhost:8080)
I found a bug, what should I do? Create an issue on GitHub, post to the Google Group, or contact me directly. Or do all three! The worst thing you can do is to not report it. Please try to include as much information as possible in your report.
I use htaccess. Why its not working? .htaccess is only supported on apache please read the documentation of lighttpd.


Please fork this repository and contribute back using [pull requests](

Any contributions, large or small, major features, bug fixes, additional language translations, unit/integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed. Be sure your credentials will appear here if we'll use your code :)


All source code of DroidPHP 's java code is licensed under Apache License see License file.

Support or Contact

Check out the documentation at
The mailing list is available at