0
Answered

Can't run in Openwrt : "Call to undefined function fnmatch()"

garypang 7 months ago updated 6 months ago 2

I am getting 'Call to undefined function fnmatch()' error when running FileRun in OpenWrt system.

the fnmatch function is not available on non-POSIX compliant systems, but Openwrt is on-POSIX compliant system.

help,

Thanks

+1
Answered

I am afraid we do not plan to ever add support for OpenWrt. But here's something you can try: Copy the code snippet from this discussion: https://forum.openwrt.org/t/need-help-php-error-undefined-function-fnmatch/46659 inside "customizables/config.php". See this page on how to create the config file: https://docs.filerun.com/advanced_configuration

Thanks, It worked for me.