Important to compile/configure --with-ncurses.
As a cli, it allows to add !#/usr/bin/php to scripts, and with ncurses allow to use terminal and keyboard.
It take a possibility to make usable scripts without toolchain.
Please, anybody, try to do it?
I do it, but I cant run on dingoo, because it say, what unexpected "(" (thaths usually happens, where we try to run on dingoo common PC (for normal big linux) binaries.)
I do next:
- Code: Select all
--prefix=/opt/dingoo-uclibc-toolchain-05-28-09/ --host=mipsel-linux --target=mipsel-linux --disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --without-pear --enable-cgi --enable-cli --with-ncurses=shared --disable-ipv6 --disable-mbregex --without-pdo-sqlite