2015-5-8 : 5.0.4 : Fix for potentially excessive memory usage. Updating recommended.
May 8, 2015
Just a little correction about what you wrote there:
The contents of the file /etc/php/conf.d/ioncube.ini should be:
For PHP 5.3
For PHP 5.4
For PHP 5.5
For PHP 5.6
For PHP 7.0
The comment you find there, is not just a simple comment. It tells the order the module should be loaded into PHP. Ioncube must be the first module in the load chain, so that's the reason I put 00 in as priority.
Hope it helps.
P.S: In my systems I didn't create /etc/php/conf.d/ioncube.ini but I've created /etc/php/mods-available/ioncube.ini
Then I ran the command "php5enmod ioncube" and everything has been setted up correctly.
That the way to go but if you put the shared library into the PHP extension directory (as you have done), you can discard the path:
BTW: The priority field, it is generally placed at top.
On my system, I've:Code
- root@jessie:/usr/local/src/imscp# ls /usr/lib/php5/20131226/ioncube_loader_lin_5.6.so
- root@jessie:/usr/local/src/imscp# cat /etc/php5/mods-available/ioncube.ini
- ; configuration for php ioncube loader
- ; priority=01
Then, as you say, we can manage it using php5enmod/php5dismod. Note that on newer versions, those script are called phpenmod/phpdismod.