Hello to solve the problem, the ioncube that downloads when you install aapanel on the architecture is ARM64 is the ioncube that comes downloaded is for x64, for you to be able to install it on ARM64 you need to download ioncube for ARM64
ARM64 Footsteps:
https://www.ioncube.com/loaders.php
Linux ARM64 (aarch64 64bit)
Direct Link:
Download the ioncube:
https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_aarch64.zip
Command:
unzip ioncube_loaders_lin_aarch64.zip
Go to the PHP configuration on the panel:
in ​Configuration File
Line: 1950
zend_extension = /usr/local/ioncube/ioncube/ioncube_loader_lin_7.4.so
Change by:
zend_extension = /usr/local/ioncube/ioncube/ioncube/ioncube_loader_lin_7.4.so
zend_extension = /usr/local/ioncube/ioncube/ioncube/ioncube_loader_lin_7.3.so
zend_extension = /usr/local/ioncube/ioncube/ioncube/ioncube_loader_lin_7.2.so
zend_extension = /usr/local/ioncube/ioncube/ioncube/ioncube_loader_lin_7.1.so
Make it in your favorite PHP to work on ARM64.