Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so
-
wrote on Nov 17, 2022, 7:32 PM last edited by
Hi guys,
After upgrading to version 3.0.0 and 3.0.1 of the WordPress Developer package, when you run the
wp cache flush
command in the application terminal, the following message appears:Connecting... If you resize the browser window, press Ctrl+D to start a new session with the current size. root@9617d39f-5bd3-45b0-93e5-2c757992ea2d:/app/code# wp cache flush Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so: /usr/lib/php/20190902/ioncube_loader_lin_8.1.so: cannot open shared object file: No such file or directory Success: The cache was flushed. root@9617d39f-5bd3-45b0-93e5-2c757992ea2d:/app/code#
Object cache is flushed correctly, but such warning did not come up before.
-
Hi guys,
After upgrading to version 3.0.0 and 3.0.1 of the WordPress Developer package, when you run the
wp cache flush
command in the application terminal, the following message appears:Connecting... If you resize the browser window, press Ctrl+D to start a new session with the current size. root@9617d39f-5bd3-45b0-93e5-2c757992ea2d:/app/code# wp cache flush Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so: /usr/lib/php/20190902/ioncube_loader_lin_8.1.so: cannot open shared object file: No such file or directory Success: The cache was flushed. root@9617d39f-5bd3-45b0-93e5-2c757992ea2d:/app/code#
Object cache is flushed correctly, but such warning did not come up before.
wrote on Nov 17, 2022, 8:36 PM last edited by@martinkbs It used to be that ionCube was not ready for php 8 (see https://forum.cloudron.io/topic/7141/whmcs-lamp-ioncube-not-detected/9 - @girish has that changed? FileRun does not work anymore in LAMP for the same reason…
-
Whoops, I got the path to the .so wrong. Making a new build.
@necrevistonnezr Indeed, no ioncube for PHP 8. But they have it for PHP 8.1.
-
@martinkbs It used to be that ionCube was not ready for php 8 (see https://forum.cloudron.io/topic/7141/whmcs-lamp-ioncube-not-detected/9 - @girish has that changed? FileRun does not work anymore in LAMP for the same reason…
@necrevistonnezr said in Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so:
FileRun does not work anymore in LAMP for the same reason
Are you on PHP 7.4? Can you switch to PHP 8.1 ? Just edit
/app/data/PHP_VERSION
and restart - https://docs.cloudron.io/apps/lamp/#supported-php-versions . -
-
Whoops, I got the path to the .so wrong. Making a new build.
@necrevistonnezr Indeed, no ioncube for PHP 8. But they have it for PHP 8.1.
-
-
@necrevistonnezr said in Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so:
FileRun does not work anymore in LAMP for the same reason
Are you on PHP 7.4? Can you switch to PHP 8.1 ? Just edit
/app/data/PHP_VERSION
and restart - https://docs.cloudron.io/apps/lamp/#supported-php-versions .wrote on Nov 19, 2022, 12:58 PM last edited by@girish Having the same issue, so I dropped a PHP_VERSION file and in it specified : PHP_VERSION=8.1
but I keep having the same error, as if the PHP_VERSION file wasn't being taken into account by the wordpress container.Anything else I can try ?
-
@girish Having the same issue, so I dropped a PHP_VERSION file and in it specified : PHP_VERSION=8.1
but I keep having the same error, as if the PHP_VERSION file wasn't being taken into account by the wordpress container.Anything else I can try ?
@benborges are you hitting this WordPress or lamp app? WordPress app has to be simply updated , it doesn't understand the PHP_VERSION file .
-
In one of my PHP sites, I hit:
Nov 19 19:10:02 PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /app/data/wp-content/plugins/disable-wordpress-core-update/disable-core-update.php:27 Nov 19 19:10:02 Stack trace: Nov 19 19:10:02 #0 /app/code/wp-settings.php(447): include_once() Nov 19 19:10:02 #1 phar:///app/pkg/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1336): require('...') Nov 19 19:10:02 #2 phar:///app/pkg/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1254): WP_CLI\Runner->load_wordpress() Nov 19 19:10:02 #3 phar:///app/pkg/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() Nov 19 19:10:02 #4 phar:///app/pkg/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process() Nov 19 19:10:02 #5 phar:///app/pkg/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() Nov 19 19:10:02 #6 phar:///app/pkg/wp/php/boot-phar.php(11): include('...') Nov 19 19:10:02 #7 /app/pkg/wp(4): include('...') Nov 19 19:10:02 #8 {main}
I had to go to File manager and delete
wp-content/plugins/disable-wordpress-core-update
directory entirely. -
@benborges are you hitting this WordPress or lamp app? WordPress app has to be simply updated , it doesn't understand the PHP_VERSION file .
wrote on Nov 19, 2022, 8:24 PM last edited by@girish Wordpress dev, here is the log https://pastebin.com/iKFwNHmG
-
@girish Wordpress dev, here is the log https://pastebin.com/iKFwNHmG
wrote on Nov 19, 2022, 8:36 PM last edited byAlso removed
wp-content/plugins/disable-wordpress-core-update
and a rss plugin throwing some errors, updated to latest package and i'm up and running !
Thanks all -
@necrevistonnezr said in Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so:
FileRun does not work anymore in LAMP for the same reason
Are you on PHP 7.4? Can you switch to PHP 8.1 ? Just edit
/app/data/PHP_VERSION
and restart - https://docs.cloudron.io/apps/lamp/#supported-php-versions .wrote on Nov 20, 2022, 3:15 PM last edited by necrevistonnezr Nov 20, 2022, 3:15 PM@girish Tried both php versions with LAMP app version 3.0.1, ioncube is not found when opening FileRun
Site error: the ionCube PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking. Please visit get-loader.ioncube.com for install assistance.
-
@girish Tried both php versions with LAMP app version 3.0.1, ioncube is not found when opening FileRun
Site error: the ionCube PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking. Please visit get-loader.ioncube.com for install assistance.
@necrevistonnezr Can you try
php -v
?root@74a6cc7a-143b-4085-a8c8-ecd1555d8cc7:/app/code# php -v PHP 8.1.12 (cli) (built: Oct 28 2022 17:39:37) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.12, Copyright (c) Zend Technologies with the ionCube PHP Loader v12.0.2, Copyright (c) 2002-2022, by ionCube Ltd. with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies
It shows above that it's there .