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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    ionCube not loading on PHP 7.4

    LAMP
    2
    4
    26
    Loading More Posts
    • 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.
    • webfrequent-de
      webfrequent-de last edited by

      Unfortunately the software I need to run is not available for PHP8 and is currently running the 7.3 version on 7.4 ionCube & PHP.

      I am trying to move it to a LAMP stack but it fails loading the extension.

      php.ini

      zend_extension=/app/data/ioncube/ioncube_loader_lin_7.4.so
      

      log on starting

      Jan 21 13:11:56 ==> Do not override existing index file
      Jan 21 13:11:56 ==> PHP version set to 7.4
      Jan 21 13:11:56 ==> Source custom startup script
      Jan 21 13:11:56 ==> Creating credentials.txt
      Jan 21 13:11:57 ==> Starting Lamp stack
      Jan 21 13:11:57 PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
      

      Also without loading it in php.ini phpinfo does not show it is loaded.

      girish 2 Replies Last reply Reply Quote 0
      • girish
        girish Staff @webfrequent-de last edited by

        @webfrequent-de This looks like a packaging bug, investigating.

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @webfrequent-de last edited by

          @webfrequent-de I have fixed this in the latest packages. You have to update all the way up to version 3.0.3. You can also remove the custom zend_extension you have added.

          1 Reply Last reply Reply Quote 0
          • webfrequent-de
            webfrequent-de last edited by

            Confirm it is working.

            5036fbcd-dfc4-4e24-ae99-68a3d577154f-image.png

            229fc1e1-e5da-40f2-927f-ae5531464033-image.png

            b0db9047-106b-476b-a694-86f7a5b4b995-image.png

            Thanks for the fast response and fix 👍

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB