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. LAMP
  3. ionCube not loading on PHP 7.4

ionCube not loading on PHP 7.4

Scheduled Pinned Locked Moved LAMP
4 Posts 2 Posters 807 Views 2 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.
  • webfrequent-deW Offline
    webfrequent-deW Offline
    webfrequent-de
    wrote on last edited by
    #1

    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.

    girishG 2 Replies Last reply
    0
    • webfrequent-deW webfrequent-de

      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.

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

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

      1 Reply Last reply
      0
      • webfrequent-deW webfrequent-de

        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.

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

        @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
        0
        • webfrequent-deW Offline
          webfrequent-deW Offline
          webfrequent-de
          wrote on last edited by
          #4

          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
          1
          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