Проблемка с IonCube

Post Reply
Elf
Posts: 71
Joined: Fri Feb 26, 2021 12:28 pm

Проблемка с IonCube

Post by Elf »

На одной из новых VPS
Ошибка
[Tue Jul 04 15:52:28.155280 2023] [fcgid:warn] [pid 7293] [client xxxxxxxxx:43290] mod_fcgid: stderr: PHP Fatal error: The file /home/admin/web/xxxxxxxxx.com/public_html/cjfolder/admin/index.php encoded as type [1/81] cannot be decoded by this version of the ionCube Loader.
Предполагаю из за разницы PHP версий на VPS
в шеле php -v
PHP 8.1.21RC1 (cli) (built: Jun 20 2023 14:09:25) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.21RC1, Copyright (c) Zend Technologies
with the ionCube PHP Loader v12.0.5, Copyright (c) 2002-2022, by ionCube Ltd.

phpinfo.php показывает PHP Version 7.4.33
This program makes use of the Zend Scripting Language Engine:
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v12.0.5, Copyright (c) 2002-2022, by ionCube Ltd.

Я так понимаю, в шелле SmartCJ версию берет, кодирует под PHP 8.1.21? Поэтому, при запуске через Web где PHP 7.4.33 скрипт выдает ошибку ?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Проблемка с IonCube

Post by admin »

да, версии должны совпадать
Don't forget to run script update
Post Reply