How to install ioncube loader extension on php 8.1

Hello,
How can i install ioncube loader on PHP 8.1 and ubuntu 20.04
Thank you

Hello @digitaltasweq

Use this script How to install ioncube loader extension on php 8.1 - #5 by Zang

i got this error

root@vps:~# cp ioncube/ioncube_loader_lin_8.1.so /usr/local/lsws/lsphp81/lib64/php/modules/ioncube_loader_lin_8.1.so
cp: cannot create regular file '/usr/local/lsws/lsphp81/lib64/php/modules/ioncube_loader_lin_8.1.so': No such file or directory

Check there was error with that command just fixed it

I had same error, I made a bash script for this. You can run with this command.

bash <(curl -Ls https://raw.githubusercontent.com/erenaksoy/lsws-ioncube-installer/main/install.sh)