How to execute IonCube encoded php file within cPanel's internal PHP ?

azadhussnain

Well-Known Member
May 28, 2020
52
0
6
India
cPanel Access Level
Root Administrator
Hello, i am developing a plugin for cPanel/WHM.
I want to execute a PHP file which is IonCube Encoded, but the server doesn't have installed IonCube but enabled IonCube in Tweak Settings.
I have heard that cPanel have any internal command which executes IonCube encoded file from it's internal php. Is there any ?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,519
1,030
313
cPanel Access Level
Root Administrator
Hey there! Once the option is enabled in WHM >> Tweak Settings, I wouldn't expect you to need to do anything else in order to make that work. Just like with any encoded PHP file, there isn't a specific command you'd use to make it work, but PHP would have the ability to decode it.