I realise that this question has been asked several times before - and none of the ‘answers’ seem to help.
After following recommended installation procedure I now see:
php -v
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory
PHP Warning: Failed loading Zend extension ‘ioncube_loader_lin_7.4.so’ (tried: /usr/lib/php/20190902/ioncube_loader_lin_7.4.so (/usr/lib/php/20190902/ioncube_loader_lin_7.4.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/ioncube_loader_lin_7.4.so.so (/usr/lib/php/20190902/ioncube_loader_lin_7.4.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.30 (cli) (built: Jun 10 2022 13:33:49) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
The file /usr/lib/php/20190902/ioncube_loader_lin_7.4.so exists! It’s in the Directory. I’ve edited the CLI and FPM .ini files for PHP 7.4
Been struggling with this for hours now. File permissions? I don’t think so. Something to do with zend_extension?
This part is confusing:
/usr/lib/php/20190902/ioncube_loader_lin_7.4.so.so (/usr/lib/php/20190902/ioncube_loader_lin_7.4.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Notice the filename ends with .so.so in this case. I’ve checked my spelling in the .ini files and there is only one .so extension not two.
2a. Don’t forget to unzip that .zip archive. It will create a sub directory called ‘ioncube’ which contains 2 files. You only need to be concerned with loader-wizard.php which you can copy (cp) to your web site. This file should be placed anywhere in your web site or under public_html.