Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ioncube error using php 8.1 #840

Open
2 of 5 tasks
mauro-nigrele-wpromote opened this issue May 6, 2024 · 2 comments
Open
2 of 5 tasks

Ioncube error using php 8.1 #840

mauro-nigrele-wpromote opened this issue May 6, 2024 · 2 comments
Assignees
Labels
awaiting-release Added/Fixed and tested, awaiting release bug Something isn't working

Comments

@mauro-nigrele-wpromote
Copy link

mauro-nigrele-wpromote commented May 6, 2024

Describe the bug
Can't get Ioncube loader installed properly with PHP 8.1

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems

Default . Not specified (linux I guess)

PHP versions
8.1

To Reproduce
`
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow

  -   name: Load php 8.1
      uses: shivammathur/setup-php@v2
      with:
        php-version: '8.1'
        extensions: ioncube
      env:
        fail-fast: true

`
Expected behavior
PHP 8.1 with IonCube Loader is installed

Screenshots/Logs

Run shivammathur/setup-php@v2
  with:
    php-version: 8.1
    extensions: ioncube
    ini-file: production
  env:
    WEBROOT_PATH: /home/xxxx/xxxx-11
    REMOTE_HOME: /home/xxxx/
    fail-fast: true
/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v[2](https://github.com/visiture-dev/lee-michaels/actions/runs/8971980259/job/24638933460#step:6:2)/src/scripts/run.sh
```

==> Setup PHP
✓ PHP Updated to PHP 8.1.27

==> Setup Extensions
✗ ioncube Could not install ioncube on PHP 8.1.2[7](https://github.com/visiture-dev/lee-michaels/actions/runs/8971980259/job/24638933460#step:6:7)
Error: The process '/usr/bin/bash' failed with exit code 1`

**Additional context**
N/A

**Are you willing to submit a PR?**
N/A
@mauro-nigrele-wpromote
Copy link
Author

Updated Error log with verbose flag


Run shivammathur/setup-php@verbose
/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/verbose/src/scripts/run.sh
==> Setup PHP
update-alternatives: using /usr/sbin/php-fpm8.1 to provide /usr/sbin/php-fpm (php-fpm) in auto mode
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 odbcinst : Depends: unixodbc-common (>= 2.3.9-5ubuntu0.1) but 2.3.9-5 is installed
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
  unixodbc-common
The following packages will be upgraded:
  unixodbc-common
1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Need to get 9256 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Get:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 unixodbc-common all 2.3.9-5ubuntu0.1 [9256 B]
Fetched 9256 B in 0s (131 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 269688 files and directories currently installed.)
Preparing to unpack .../unixodbc-common_2.3.9-5ubuntu0.1_all.deb ...
Unpacking unixodbc-common (2.3.9-5ubuntu0.1) over (2.3.9-5) ...
Setting up unixodbc-common (2.3.9-5ubuntu0.1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-KCUR: 6.5.0-1018-azure
NEEDRESTART-KEXP: 6.5.0-1018-azure
NEEDRESTART-KSTA: 1
NEEDRESTART-SVC: irqbalance.service
NEEDRESTART-SVC: networkd-dispatcher.service
NEEDRESTART-SVC: php8.1-fpm.service
production
date.timezone=UTC
memory_limit=-1
xdebug.mode=coverage
opcache.enable=1
opcache.jit_buffer_size=256M
opcache.jit=[12](https://github.com/visiture-dev/lee-michaels/actions/runs/8974349000/job/24646535373#step:6:13)35
php-version=8.1.27
✓ PHP Updated to PHP 8.1.27
==> Setup Extensions
ID=ubuntu
VERSION_ID=***.04
VERSION_CODENAME=jammy
deb [arch=amd64 signed-by=/usr/share/keyrings/ondrej-php-keyring.gpg] http://ppa.launchpad.net/ondrej/php/ubuntu jammy main
Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu jammy InRelease [23.9 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu jammy/main amd64 Packages [123 kB]
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu jammy/main Translation-en [37.9 kB]
Fetched [18](https://github.com/visiture-dev/lee-michaels/actions/runs/8974349000/job/24646535373#step:6:19)5 kB in 1s (***7 kB/s)
Reading package lists...
✓ xml Enabled
✓ php-config Added php-config 8.1.27
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
✓ PECL Added PECL 1.10.12
No releases available for package "pecl.php.net/ioncube"
install failed
✗ ioncube Could not install ioncube on PHP 8.1.[27](https://github.com/visiture-dev/lee-michaels/actions/runs/8974349000/job/24646535373#step:6:28)
Error: The process '/usr/bin/bash' failed with exit code 1

@shivammathur
Copy link
Owner

Fixed in 376a964, will be in the next release.

@shivammathur shivammathur added the awaiting-release Added/Fixed and tested, awaiting release label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-release Added/Fixed and tested, awaiting release bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants