Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so
-
@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 . -
-
-
@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-update
directory entirely. -
@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 .