Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so
-
@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_VERSIONand restart - https://docs.cloudron.io/apps/lamp/#supported-php-versions . -
N nebulon marked this topic as a question on
-
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.
-
G girish has marked this topic as solved on
-
@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_VERSIONand restart - https://docs.cloudron.io/apps/lamp/#supported-php-versions . -
@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 ?
-
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-updatedirectory 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 .
-
@girish Wordpress dev, here is the log https://pastebin.com/iKFwNHmG
-
@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_VERSIONand restart - https://docs.cloudron.io/apps/lamp/#supported-php-versions .@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 TechnologiesIt shows above that it's there .
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
