Code Monkey home page Code Monkey logo

droidphp's Introduction

DroidPHP Android App Build Status

DroidPHP is an open-source Web Server for Android devices, allowing you to run PHP and MYSQL based appliation from your Android device.

Please see the issues section to report any bugs or feature requests and to see the list of known issues.

Please see the wiki section for help.

License

Build dependencies

This project uses the open source libraries such as:

These are just a few of the major dependencies that is required to build this project.

Executable dependencies

This project uses the open source software such as:

These are just a few of the major dependencies that is required to build binaries.

Contributing

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.

droidphp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

droidphp's Issues

navigating to 'localhost:10000' produces error '503 - Service Not Available'

Samsung Note 3 (SM-N9005)
Android 4.4.2

I installed DroidPHP. It works fine to fire up HTML and PHP that is indexed at 'localhost:8080' (htdocs).

I downloaded 'phpMyAdmin-master' from the wiki link and un-zipped int 'droidphp/phpmyadmin/'

When I navigate to 'localhost:10000' I get the error message '503 - Service Not Available' in Chrome.

Is there something I need to configure?

DroidPHP can't run server on Android 5.0 Lollipop

I'm having an issue using Android 5.0 on my Nexus 4. The app starts but the server crashes on start.
I was using an old version of DroidPHP which worked perfectly (nice job by the way). Since Android 5.0 the old and the latest version of DroidPHP fails to load the server.

Is there any debug mode or something to help you with the logs ?

Thanks !

Port 80 problem

I recently downloaded droidphp and liked using it. But when I try to run the server on port 80 it doesn't starts. I have root access with SuperSU installed and also granted it to droidphp. My device is Nokia XL. I had other servers which worked with port 80. I uninstalled all of them to resolve any conflict issue though it didn't solve the problem.

How to launch phpmyadmin?

I have installed DroidPHP app in eclipse.
It works fine, but when I tried to launch phpmyadmin, it failed.

How to get phpmyadmin?

In mysql log file, it showed the error log as following.

/data/data/org.opendroidphp/components/mysql/sbin/mysqld: Incorrect file format 'plugin'
140802 16:14:39 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
140802 16:14:39 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
140802 16:14:39 [ERROR] Do you already have another mysqld server running on port:3306?
140802 16:14:39 [ERROR] Aborting

Port 80 does not work (no error messages)

Hello there,

I have tested DroidPHP and I can connect on the default port 8080.
However, as soon as I change the port to 80, I can't connect to the server. Unfortunately the lighttpd log shows no errors and seems to be running.

My research indicates that ports below 1024 are reserved for privileged unix users. Since the app does not ask for superuser rights, the port is somehow blocked (even though the server seems to be running).

I have no problem with port 8080, but I thought that i should drop this hint for other users.

Custom PHP extension segfault!

Hi Shushant,
I tried to create a custom extension using zephir that encode/ decode PHP page (in order to protect my code when deploy to an Android device). Things run fine on Linux, however on Android I meet segmentation fault
I've tried several options such as create a libmyfunc.so (separately) or either built it inside php-cgi, but no hope. When running phpcgi -m, I can see my libmyfunc listed, however it cannot run.
Have you meet this case before?

server url missing

Can't see anywhere what is the url to access the web server from inside or outside the device

Using DroidPHP++ 1.6.0

lighttpd with ssl?

hi there,

how hard would it be to enabel ssl support?

i'm new to cross compiling, but willing to spend some time!

MySQL are not working.

With the Server running the SQL Shell console does nothing and when installed phpMyAdmin it gives #1045 Cannot log in to the MySQL server.

mod_websocket?

This is not an issue at all.

Is any possibility to add easily mod_websocket to lighttpd component?

thanks

Zend 2

Is it possible to connect to droidphp framework zend 2?

Fdroid

I'm chatting with the Fdroid maintainers to include DroidPHP into Fdroid repositories.

They're afraid of the number of packages to compile, so they're very cautious about the integration of DroidPHP into their repo.

I asked what could be done to make possible this integration, here is their answer :

" Actually not much, as the main "problem" is not the app itself, but integrating the external builds. As always, there is room for improvements such as removing the binary jar archive, tagging releases etc. However, does won't speed up inclusion in fdroid. Maybe the external builds can be integrated into ant/maven/gradle/*, but I actually don't know if this is possible or if it is a good solution. "

DroidPHP is a wonderful open source app i'm using everydays. Having it in Fdroid, the official open source repository would be fabulous.

Do you think you could do something to help them ?

Here is the conversation in Fdroid forum : https://f-droid.org/forums/topic/droidphp/

Anyway, thanks a lot for this app :)

MySQL Conflict?

When I start the DroidPHP server it works just fine. Then I close it after stopping the server and if I try to launch a MySQL server from Servers Ultimate then the server doesn't work. What I think is that maybe the MySQL server in DroidPHP isn't shutting down properly. I tried different ports, too. I repeat again, the MySQL server from Servers Ultimate is not working, DroidPHP works fine. In fact, after stopping the server I van still access the SQL Admin tool.

nginx

Could you include nginx instead of Lighttpd?

SwitchCombatLib

If I would use the new version 1.1.0, I could find a lib names "SwitchCombatLib". Where can I get it?

phpMyAdmin cant connect to mysql

  1. My configuration: Android v 4.1.1 on ARM Cortex-A7 tablet

  2. Fresh build from sources.
    One lint corrected: The "receiver" element must be a direct child of the "application" element.

  3. phpMyAdmin 4.2.4 english placed in /mnt/sdcard/htdocs/phpMyAdmin

  4. phpMyAdmin's config.inc.php made from config.sample.inc.php with only change:

    $cfg['Servers'][$i]['AllowNoPassword'] = true;

  5. phpMyAdmin error: #2002 Cannot log in to the MySQL server

Is there any pitfalls i missed?

Release

This is more of a request/question then an issue. Would it be possible to release an apk under releases?

It would be helpful for those who don't have Google Play to download the apk. Thanks for all your hard work.

MySQL server is not working

I used the compiled Version (APK) from BOX. I think there is a issue with MySQL server. App crashes when using mySQL command line tool. Also I found that phpmyadmin cannot connect to the MySQL server. I am going to use this for a GSOC project. Can you please look at this issue. Thank you

Mysql does not work

hello sir, the app you have created does not run the Mysql commands :(
it says "the app stoped" ??

Soap Error

Hello SOAP does not work. How can I settings Lighttpd.conf or change Lighttpd ? please help me

Error is

2013-12-27 13:13:43: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://service.webticari.net/server/importservice/rpc/service.php?wsdl' : failed to load external entity "http://service.webticari.net/server/importservice/rpc/service.php?wsdl" in /mnt/sdcard/htdocs/www/webticari/ayarlar/local_db.php on line 148

147.line ->ini_set("soap.wsdl_cache_enabled", "0");
148.line ->$client = new SoapClient("http://service.webticari.net/server/importservice/rpc/service.php?wsdl");
149.line ->$str = $client->getDatabaseXML($remoteDbName);

SimpleXML not working

Fatal error: Class 'SimpleXMLElement' not found in /storage/sdcard0/htdocs/test.php on line 6

Also simplexml_load_string and simplexml_load_file doesent exist.

in phpinfo it is listed with authors: SimpleXML Sterling Hughes, Marcus Boerger, Rob Richards

ServerService always running. should stop if server is killed.

When I use getRunningServices function I always get a service by the name of "com.github.DroidPHP.ServerService". I get this even if the server is not running. I guess you need to add stopService in the btn_stopServer.setOnClickListener in the HomeActivity.java

MSSQL support?

What would it take to get the MSSQL php module bundled with this package? Let me know if you would need to be paid for such a task and we can work something out.

I really appreciate what you've done here! Very useful!

how to enouble phar. unable to work with .phar file

whenever i try this

require_once '/path/to/goutte.phar'
use Goutte\Client;

it throw this warning.

Warning: require_once(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /storage/sdcard0/htdocs/goutte.phar on line 12

Hi utf8_encode dont working

Fatal error: Call to undefined function utf8_encode() in /storage/emulated/legacy/htdocs... please fix it

"DroidPHP has stopped working"

Whenever, I tap on the new extension menu, this error message pops up.
Phone make: Nokia XL
Whether Rooted: No
Port: 8080
DroidPHP version: 1.6

One more glitch. The default server tag shows version 1.4

Nginx server not running

After starting the nginx server, on returning to home, it becomes inactive. Also reports web server not running.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.