Php7-mod-openssl not work in OpenWrt

Hello,
I already install php7-mod-openssl, but there's no openssl in php-cli -m, also extension_loaded("openssl") return false.

I meet this problem because I'm using openssl_decrypt()
and it says Fatal error: Uncaught Error: Call to undefined function openssl_decrypt()
btw, my web server is lighttpd.

openwrt version: 21.03 r16325-88151b8303

Here is some info:

  1. I have php7-mod-openssl:
# opkg list |grep php
php7 - 7.4.24-1
php7-cgi - 7.4.24-1
php7-cli - 7.4.24-1
php7-fastcgi - 7.4.24-1
php7-fpm - 7.4.24-1
php7-mod-openssl - 7.4.24-1
  1. I don't have openssl in php-cli -m:
# php-cli -m
[PHP Modules]
Core
date
hash
pcre
posix
Reflection
SPL
standard
zlib

[Zend Modules]
  1. extension=openssl.so is in /etc/php7/15_openssl.ini, not php.ini:
#php-cli --ini
Configuration File (php.ini) Path: /etc
Loaded Configuration File:         /etc/php.ini
Scan for additional .ini files in: /etc/php7
Additional .ini files parsed:      /etc/php7/15_openssl.ini
# cat /etc/php7/15_openssl.ini 
extension=openssl.so
  1. this is make sure openssl.so is exist:
# cat /etc/php.ini |grep extension
extension_dir = "/usr/lib/php"
# ls /usr/lib/php/
openssl.so

Is there anything I miss?
Any sugesstion will be greate, thanks in advance

[update] all php7-mod can not load.
I have installed other php7-mod like phar, ftp, curl etc. but php-cli -m not show anything, also config is same with openssl like above.

Looks like there is some reason cause mod can not load.