Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. WordPress (Developer)
  3. Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so

Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so

Scheduled Pinned Locked Moved Solved WordPress (Developer)
12 Posts 4 Posters 2.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #3

    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.

    martinkbsM 1 Reply Last reply
    2
    • necrevistonnezrN necrevistonnezr

      @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…

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #4

      @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 .

      benborgesB necrevistonnezrN 2 Replies Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • girishG girish

        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.

        martinkbsM Offline
        martinkbsM Offline
        martinkbs
        wrote on last edited by
        #5

        Thanks @girish 👍

        1 Reply Last reply
        0
        • girishG girish has marked this topic as solved on
        • girishG girish

          @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 .

          benborgesB Offline
          benborgesB Offline
          benborges
          wrote on last edited by
          #6

          @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 ?

          BenB

          girishG 1 Reply Last reply
          0
          • benborgesB benborges

            @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 ?

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #7

            @benborges are you hitting this WordPress or lamp app? WordPress app has to be simply updated , it doesn't understand the PHP_VERSION file .

            benborgesB 1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #8

              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.

              1 Reply Last reply
              0
              • girishG girish

                @benborges are you hitting this WordPress or lamp app? WordPress app has to be simply updated , it doesn't understand the PHP_VERSION file .

                benborgesB Offline
                benborgesB Offline
                benborges
                wrote on last edited by
                #9

                @girish Wordpress dev, here is the log https://pastebin.com/iKFwNHmG

                BenB

                benborgesB 1 Reply Last reply
                0
                • benborgesB benborges

                  @girish Wordpress dev, here is the log https://pastebin.com/iKFwNHmG

                  benborgesB Offline
                  benborgesB Offline
                  benborges
                  wrote on last edited by
                  #10

                  Also 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

                  BenB

                  1 Reply Last reply
                  1
                  • girishG girish

                    @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 .

                    necrevistonnezrN Offline
                    necrevistonnezrN Offline
                    necrevistonnezr
                    wrote on last edited by necrevistonnezr
                    #11

                    @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.

                    girishG 1 Reply Last reply
                    0
                    • necrevistonnezrN necrevistonnezr

                      @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.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #12

                      @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 .

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search