Published using Google Docs
The ioncube loader errors on RVsitebuilder
Updated automatically every 5 minutes

--------------------

For cPanel

--------------------

There are 3 ways to fix it.

  1. Go to WHM >> Server Configuration >> Tweak Setting, and choose ioncube on 'Loader to use for internal cPanel PHP'.
    Run command
    service cpanel restart

    Then check your RVsitebuilder again.

  1. Run:

perl /var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl

Then check your RVsitebuilder again.

  1. Edit php.ini for internal cPanel PHP manually. To do this way is only a last choice. Php.ini is likely to be reverted back after updating cPanel and you will need to redo it again.

zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so"

zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so

/usr/local/cpanel/bin/install_php_inis

/usr/local/cpanel/startup

Using these instructions for only in case the autofixphpini.pl doesn't help you.

  1. Run this command manually.

  perl /scripts/phpextensionmgr --prefix /usr/local/cpanel/3rdparty install IonCubeLoader

  1. Create or update /scripts/postupcp to run above command every after cPanel upcp.

#!/usr/bin/perl

if (-f '/var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl') {

system('perl /var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl');

}

if (-f '/scripts/phpextensionmgr') {

system('perl /scripts/phpextensionmgr --prefix /usr/local/cpanel/3rdparty install IonCubeLoader');

}

1;

Make sure /scripts/postupcp permission is 700. You also need to test it by running /scripts/postupcp and check RVsitebuilder again.

 

------------------------

For DirectAdmin

------------------------

1. Open  /usr/local/directadmin/plugins/rvsitebuilder/user/php.ini to edit

2. Insert the following line under the extension_dir line.


zend_extension = "/ioncube/ioncube_loader_lin_5.2.so"

NOTE: the number 5.2 is standing for your current "php version", please replace it by yours.

3. Restart Directadmin services

/etc/init.d/httpd restart

/etc/init.d/directadmin restart

4. Check your RVsitebuilder again.