How to install ioncube php loader in whm




















This method is generally considered a more secure way to connect via SSH. Your server should support both methods. The port number is usually 22 but it may be different for your specific server. There are different versions of the ionCube loader available for download. These are listed by platform and release date to make it easier to choose the right version relevant to your particular system.

You can choose to subscribe to ionCube loader updates to make sure you keep your loader extension up-to-date with the latest version. To find out which loader version is the correct one for your server we can use the PHP command which displays detailed PHP configuration data.

This is quite a bit of work to just display the server PHP configuration data. However, we only want the first few lines outputted as this contains the relevant information about the server environment PHP is running. So the ionCube loader we should download is the Linux 64 bits tar.

Make sure you download the ionCube loader archive relevant to your system. This downloads the ionCube loader package into the temporary folder and outputs the download progress until it completes. This extracts all the archived files into a new ioncube folder. List them out with ls ioncube :. As you can see, there are multiple individual ionCube loader files with the extension. Earlier, we ran the command php -i head -n 5 to get the server OS information. The first couple of lines of output also give us the PHP version which in our case was 7.

We can do this by piping the output from ls into grep to filter the list of files:. Incidentally, in case you were wondering,.

Now we know the destination folder we can copy the ionCube loader file. We can do this by editing the main php. However, php. The only caveat is that these must be located in a specific directory which we can determine by entering:. We now have all the information to create our custom configuration file and add it to the correct location.

Note that our custom. The ionCube loader PHP extension should now be installed correctly. Before we can use it, though, we need to do a bit of housekeeping. The server can be reloaded via the command line but the exact command will vary for different server setups.

PHP can be restarted directly from cPanel or dashboard. It will usually take several seconds to restart PHP and a popup notification will be displayed when complete. Once these final steps have been completed, ionCube loader should now be installed and configured correctly on your server, ready to decrypt PHP encoded files. Click the PHP tab on the right hand side. Find the configurable option labeled 'cPanel PHP loader' and check the ioncube checkbox.

In order complete this task you must have shell access to the server as the user root Log into the shell as the user root. Log into the console as root. Log into the WHM as the user root. Under 'Profile', select 'Previous Saved Config' and click the 'Start customizing based on profile' button. I'll start with the instructions for CentOS. Centos has just one central php. Debian and Ubuntu use separate php. The file paths are:. A file has to be edited to enable the ioncube loader into the corresponding PHP mode.

You are free to leave out files for PHP modes that you don't use or where you don't need ioncube loader support. It is also possible that you don't have all files on your server, so don't worry when you can't find one of the files. Let's check if ioncube loader has been installed successfully. First I will test the command line PHP. I ran into problems that I cannot begin to understand. I document them at this thread:. Failed to restart php-fpm. The installation worked, however it doesn't show up in php -v but it does show up in phpinfo.

Edit Add topics. I followed the seteps all the way - went file but then at the end when was ready to create the file in the right directory i got message:. I followed the tutorial to the letter but still can't get it to work.

All the checks you suggested show that Ioncube is installed but when I go to the index page It shows the "The encoded file xxxxxxx is corrupt. Hi, I have a question, I'm installed ispconfig in ubuntu Both links work fine for me.

Maybe a temporary issue of the ioncube download server at the time you tried downloading it. Hello everyone, I just made a script that allows you to install once. This script is intended for an installation in Debian 9.

While I change master php.



0コメント

  • 1000 / 1000