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)
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)