Jump to content
  • 0

IonCube Encoder optimum settings


punkstar69

Question

I recently devleoped a module for my own usage. 
Opensource version of it works just fine (it contains a simple hook that is exectued upon every visit). But when I do encrypt the code using IonCube loaders, the hook is not executed.

I tried running the encoded version of the script on another host of mine, and it worked!
Then I came back to the first host and tried to understand why this happens, even if they do use the same PHP handler and the same loaders, but I was unable to understand it.

I was wondering if based on your related experiences, you've found any special PHP configuration things that I should compare between those machines and could cause such an incident?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

With ioncube encoder, it encodes for PHP 5.6 to 7.0 and 7.1 and you have to set which one to encode for.  I think the default is 7.1 and up.  With that in mind, on the install that does not work does the PHP version match the encoding?   Have not seen any issues beyond that with encoding and WHMCS. 

Link to comment
Share on other sites

  • 0

You have to look at your error_log to see what's the problem. If it doesn't work because of «This file was encoded with ionCube... and can't work on this version...» etc. then you're using the wrong encoding. Maybe you encoded your software with ionCube 7.2 but your server runs 5.6. That said you have to option:

  • Use the right encoding
  • Use Bundle encoding like WHMCS does but it sucks  because it produces bigger files and scripts run slightly slower
Edited by Kian
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated