Following on from efforts to get termux access via activityStarter, here is my successful effort using a php server to do the same.
Great job @TIMAI2!
I have also seen that you can install MySQL (MariaDB) and phpmyadmin, a complete server on mobile!
These should really all be components in AI2: curl, sqlite, mysql, wget, nano, openssh, php, apache....
I think there should be a block to run basic commands, at least the toybox ones.
http://landley.net/toybox/help.html
Hello
Thanks for great job
But i have a problem inTermux.
After a run "apachectl start" it says
httpd: Syntax error on line 65 of /data/data/com.termux/files/usr/etc/apache2/httpd.conf: Can't locate API module structure `php-module' in file /data/data/com.termux/files/usr/libexec/apache2/libphp.so: undefined symbol: php-module
Only made 1 change from the tutorial.
Says
nano /data/data/com.termux/files/user/share/apache2/default-site/htdocs/index.php
and i put
nano /data/data/com.termux/files/usr/share/apache2/default-site/htdocs/index.php
changed user by usr
then made all as it says and stuck starting apache
thanks/gracias
Found error.
its not
LoadModule php-module libexec/apache2/libphp.so
its
LoadModule php_module libexec/apache2/libphp.so
maybe some else need it