Learn about Centmin Mod LEMP Stack today
Register Now

Install Ioncube

Discussion in 'Add Ons' started by Jake, Apr 5, 2016.

  1. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    12:21 PM
    NA
    Maria DB 5.5
    Hello,
    I am receiving an error ...

    PHP Fatal error: <br>The file <b>*******************</b> was encoded with the PHP 5.5 ionCube Encoder and requires PHP 5.5 to be installed. in Unknown on line 0

    How can I change the encoded version if I used the addon ioncube feature?
     
  2. eva2000

    eva2000 Administrator Staff Member

    36,477
    8,001
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,326
    Local Time:
    12:21 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    if you're running centmin mod 123.09beta01, you can re-run addons/ioncube.sh addon installer to re-install ioncube for your specific PHP version. But might depend on your php script and what it was encoded with ?
     
  3. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    12:21 PM
    NA
    Maria DB 5.5
    Quick reply! All I installed was the stable version I guess. So what version of php do I need to downgrade to? 5.5?
     
  4. eva2000

    eva2000 Administrator Staff Member

    36,477
    8,001
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,326
    Local Time:
    12:21 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  5. pamamolf

    pamamolf Well-Known Member

    3,117
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    5:21 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    If i am not wrong you add a routine that php upgrade/downgrade (also imagick reinstall?) will detect it and auto reinstall it and if i am correct then you may need to remove this from the script output after installation:

    Code:
    you'll need to rerun ioncube.sh after each major PHP version upgrades
     
  6. eva2000

    eva2000 Administrator Staff Member

    36,477
    8,001
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,326
    Local Time:
    12:21 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    there's no autodetect/reinstall for ioncube
     
..