PDA

View Full Version : ioncube + litespeed


dbMG
06-21-2007, 04:03 AM
Hello.

On Cpanel server we got no problems with ioncube + Apache that are in "/usr/local/ioncube", but with runing litespeed aside on 1080 port i get error:
Site error: the file /home/xxxxe/public_html/forum/includes/functions_vbseo.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

We have ioncube with all files in /home/xxxxe/public_html/forum/ and /home/xxxxe/public_html/ but still this error.

Any idea what need to do to get work?

Thanks.

Gorazd M.

mistwang
06-21-2007, 07:03 AM
You can try creating ioncube folder under /opt/lsws/ if php5 binary is in lsws/fcgi-bin/ directory.
If it still does not work, you may need load ioncube in the php.ini

dbMG
06-21-2007, 09:41 AM
No. The same error. If i use PHP4 that comes with LSWS works without problem even without ioncube dir inside /opt/lsws/.

No one use ioncube under PHP 5.2.x?

Regards.

mistwang
06-21-2007, 09:56 AM
We have no problem setup ioncube with PHP 5.2.x. We set it in php.ini though.

dbMG
06-21-2007, 12:03 PM
Fixed.

We just recompiled PHP from the start with --with-config-file-path=/opt/lsws/php5 and copied orig. ini to this dir. and restarted LSWS and now we get:

PHP 5.2.3 (litespeed) (built: Jun 21 2007 20:05:51)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.29, Copyright (c) 2002-2007, by ionCube Ltd.