Hello. I am currently trying to run WordPress on mobile. So far it works but I have abit of an issue regarding loading php-imagick and php-redis. I've installed imagemagick and redis along with it's php extensions and it shows the file when I typed in php -m. But when I tried to see it again with print_r(get_loaded_extensions()) on index page the extensions not loading. Here's the error_log:
PHP Warning: PHP Startup: Unable to load dynamic library '/data/data/com.termux/files/usr/lib/php/redis.so' (tried: /data/data/com.termux/files/usr/lib/php/redis.so (dlopen failed: cannot locate symbol "zend_string_init_interned" referenced by "/data/data/com.termux/files/usr/lib/php/redis.so"...), /data/data/com.termux/files/usr/lib/php//data/data/com.termux/files/usr/lib/php/redis.so.so (dlopen failed: library "/data/data/com.termux/files/usr/lib/php//data/data/com.termux/files/usr/lib/php/redis.so.so" not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /data/data/com.termux/files/usr/lib/php/imagick (dlopen failed: library "/data/data/com.termux/files/usr/lib/php/imagick" not found), /data/data/com.termux/files/usr/lib/php/imagick.so (dlopen failed: cannot locate symbol "core_globals" referenced by "/data/data/com.termux/files/usr/lib/php/imagick.so"...)) in Unknown on line 0```
I'm lost atm and I hope you can help me out. Thank you