![]() |
| Grind no matter what |
While searching for a suitable tech stack for one of my projects targeting ARMv6 machines, I settled on a combination of OpenResty, Lua, and PHP. To validate the idea, I decided to prototype the setup directly on my mobile phone using Termux.
As expected, nothing worked out of the box. Termux required extra care, manual fixes, and a fair
amount of trial and error. To save time for myself—and anyone else facing the same problem—I wrote
a simple .sh installer script that allows you to set up OpenResty in a more or less
plug-and-play fashion.
To share this script and future snippets more conveniently, I registered an account on pastebin.com. If you’re struggling to get OpenResty running on Termux, you can find the installer script here:
