Thanks!! Looks like I just found a new issue.
I compiled PHP 5.2.17 in litespeed portal. I have then put ioncube loader 5.2.so in php.ini.
However, if I do php -v in console, it tells me that php is 5.3. What's worse is that ioncube is acting up because it's looking for 5.3.so even if the correct ioncube loader is installed. Below is what shows up in php -v
[root@node1 ioncube]# php -v
Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
PHP 5.3.8 with Suhosin-Patch (cli) (built: Dec 21 2011 00:12:45)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies