Hi guys im having issues trying to install WHMCS on my VPS, My host cannot assist as they do not offer cpanel support. The error i am getting is: Site error: the file /home/*****/public_html/whmcs/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator. www.allhostone.com/whmcs I have had to do this before but i have completly forgot how so im requesting any assistance or anyone who knows how ti fix this. Just to let you know im on centos-5.4-i386-standard . I do remember i have to go into the console or something to edit a file but i cant remember how it goes. Would appricate assistance. Thanks
You can add the loader in by using EasyApache and ensuring that option is selected. Once the build is complete, you will have the loader installed. Chris
i've done this thread over on WHMCS forum aswell and someone said go into server tweaks and turn it on there, Didnt work , i found a guide on the whmcs site about going into the SSH etc which i've done , im just restarting the server now to see if it will work. Update it hasnt. Basicly im following : http://wiki.whmcs.com/Installing_WHMCS . It tell's me to search for zend_extension which i do and it finds nothing so i search for zend and it finds a little paragrpah talking baout php loaders and zend. There's no where to add and zend extensions , so i find some windows extensions so i add the zend extension to that: ;extension=php_zip.dll ;zend_extension=../usr/local/ioncube/ioncube_loader_lin_5.2.so I restarted the VPS and did not work, So i removed it and awaiting some assistance
Either do as RHS-Chris said and enable it via EasyApache, just tick the ioncube box and wait for the build to finish, or download the runtime from ioncube and drop it in your account, see http://www.ioncube.com/loaders.php assuming you don't block dynamic loading in PHP it should just work. Option 1 is going to be better as it saves time loading the loaders on each access.
I've done that already, i was told and suggested by someone on WHMCS to tick the ioncube box and that hasnt worked. I've done theioncube runtime and thats where im having problems, im having issues editing the php.ini to run the runtime as i said in last post.
You don't need to edit php.ini, you can just drop the runtime in your account, just leave the file structure as is. You could always find a sys admin to sort out your server for you.
http://wiki.whmcs.com/Installing_WHMCS # Next, you need to locate the php.ini file, to do this enter: locate php.ini - You should find it is in /usr/local/lib/php.ini. Now that you know the location of php.ini you need to edit it. pico /usr/local/lib/php.ini # Now find where other zend extentions are in the file: ctrl + w: zend_extension # Paste in your new line for ioncube loader: zend_extension = /usr/local/ioncube/ioncube_loader_lin_x.so (Replace x with your version of PHP eg. 4.4) It's what it says. I've got the ioncube in ../usr/local/ioncube
If you have specified the correct version and the paths are right then look in the error logs for additional information. Also make sure you're using the right php.ini, <?php phpinfo(); ?> in a .php file can help.
Something is not right. Compiling the loader into PHP via EasyApache is the easiest way to go, and I have done it many many times without issues. If you need someone to look at it, let me know through PM, and I would be happy to take a peek and see what's going on. Chris
What you mean is by going to Server config > Tweak Settings > PHP > Loader to use for internal cPanel PHP (Use oldsourceguardian for version 1.x and 2.x) . I've select ioncube edit: Found and running easyapache
No, that's for use by scripts in cPanel you need to go via EasyApache and rebuild Apached and PHP with ioncube enabled.
Yes it did. Im just doing it again via easyapache customizing it to. There was an option to include the ioncube and ive ticked it and its currently rebuilding
Okay just did the rebuild And its all working! Thanks everyone Edit got CURL Problems now in WHMCS » CURL .......... You must have CURL installed with SSL Support for WHMCS to function correctly