Ioncube install ok and STILL getting error

monkeynuts

New member
Joined
Aug 29, 2012
Messages
2
Hi all,

Wonder if you can help me out a little.

We have directadmin on out hosting server and require WHMCS on there to. We ran this:

Code:
cd /usr/local/directadmin/custombuild
./build set ioncube yes
./build ioncube

rebooted the server so any changes can take effect.

On the WHMCS install we are now getting just the one error, which is:

Code:
Site error: the file /home/xxxxxxx/domains/xxxxxxxxxx.co.uk/public_html/billing/includes/functions.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator

Ive followed the information on the ioncube website regarding installation but still having this problem..

Can anyone help please!

Many many thanks
Monkey
 
You NEVER have to reboot a server for changes to take effect. This is NOT a windows machine.

You have to look in your php.ini file at the bottom to make sure all the zend include lines for ioncube are there.

http://www.ioncube.com/loader_installation.php

You might have to do:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build set zend yes
./build zend
./build ioncube
 
I know I didn't need to reboot but id done an upgrade too!

Thanks for the reply though!

I will have a look at the php.ini file but first try that code you showed.

Thanks :D
 
I know I didn't need to reboot but id done an upgrade too!
You usually don't even need to reboot after an upgrade, unless you need to install a new kernel, and even then there are solutions out there which allow you to install a new kernel without rebooting. One of our linux webservers has been running a year, a fortnight, and 1-1/2 days, and one of our nameservers has been running 428-1/2 days.

Just for smiles, here's the output of top for the nameserver:
Code:
top - 11:48:39 up 428 days, 13:09,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  75 total,   1 running,  74 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us,  0.0%sy,  0.0%ni, 99.7%id,  0.2%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1035244k total,   983760k used,    51484k free,   501032k buffers
Swap:  1052152k total,      128k used,  1052024k free,   358656k cached
and for the webserver:
Code:
top - 11:48:55 up 380 days, 14:54,  1 user,  load average: 0.42, 0.40, 0.45
Tasks: 285 total,   2 running, 283 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3%us,  0.5%sy,  4.4%ni, 94.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  12289688k total,  9692152k used,  2597536k free,  1377296k buffers
Swap:  3148732k total,    19028k used,  3129704k free,  5361220k cached
Jeff
 
Well, here is one of mine:

Code:
top - 15:52:26 up 707 days, 14:37,  1 user,  load average: 1.73, 1.82, 1.79
Tasks: 543 total,   1 running, 540 sleeping,   0 stopped,   2 zombie
Cpu(s):  7.3%us,  1.7%sy,  0.0%ni, 88.9%id,  1.3%wa,  0.1%hi,  0.7%si,  0.0%st
Mem:  12224332k total, 12043672k used,   180660k free,   529800k buffers
Swap:  8401976k total,      932k used,  8401044k free,  6691236k cached

and one more

Code:
top - 15:47:19 up 689 days, 23:32,  1 user,  load average: 0.55, 0.35, 0.29
Tasks:  77 total,   1 running,  76 sleeping,   0 stopped,   0 zombie
Cpu(s):  6.6%us,  4.7%sy,  0.0%ni, 83.8%id,  4.7%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:   4060248k total,  4031792k used,    28456k free,  1188124k buffers
Swap: 12297700k total,    31396k used, 12266304k free,   213012k cached

and one more

Code:
top - 15:54:40 up 411 days, 21:40,  1 user,  load average: 0.65, 0.93, 0.95
Tasks: 180 total,   2 running, 177 sleeping,   0 stopped,   1 zombie
Cpu(s): 10.4%us,  2.4%sy,  1.4%ni, 79.0%id,  6.7%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   4048276k total,  3906372k used,   141904k free,   148948k buffers
Swap:  8385880k total,      544k used,  8385336k free,  2161056k cached
 
Last edited:
Back
Top