LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > ioncube not loading

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2009, 07:44 PM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Exclamation ioncube not loading

Hello, The Ioncube extension doesn't seem to be loading. It's loading fine with apache on cPanel, but just not with litespeed.

PHP Info Link

Quote:
Found Apache php binary at /usr/local/bin/php. Version is 5.2.9

Found LiteSpeed php binary at /usr/local/lsws/fcgi-bin/lsphp5. Version is 5.2.9

Configuration options for LiteSpeed php and Apache php are matched.

No action needed for PHP version 5.2.9
Hang on, phpinfo said I'm running 4.4.9...

Any ideas on why this would be?

It doesn't appear to be building PHP 5.2.9, it's stuck at:

============================================== Start building PHP 5.2.9 with LSAPI ============================================== Thu Apr 16 02:41:57 GMT 2009 Changing to build directory /home/cpeasyapache/ls.src Detected php build directory for cPanel /home/cpeasyapache/src/php-5.2.9 Same source code will be copied over
Reply With Quote
  #2  
Old 04-16-2009, 07:47 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
I left the server to build overnight and nothing happened.
Reply With Quote
  #3  
Old 04-16-2009, 11:08 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Are you using the latest 4.0.1?
Is that a VPS server with limited memory?
Reply With Quote
  #4  
Old 04-16-2009, 11:25 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by mistwang View Post
Are you using the latest 4.0.1?
Is that a VPS server with limited memory?
I am using the latest, and it is a VPS with 2GB RAM. Good news: I have sorted it out. I compiled PHP 5 first using the web tools on admin site. Then, I used Safari Browser to build the matching php library. It appears that Microsoft/Windows Internet Explorer is the problem.
Reply With Quote
  #5  
Old 04-26-2009, 03:08 PM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by 04nunhucks View Post
I am using the latest, and it is a VPS with 2GB RAM. Good news: I have sorted it out. I compiled PHP 5 first using the web tools on admin site. Then, I used Safari Browser to build the matching php library. It appears that Microsoft/Windows Internet Explorer is the problem.
Ok, it looks like I'm having the problem again. Ioncube's not loading
Reply With Quote
  #6  
Old 04-27-2009, 07:20 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
check the phpinfo() see if the correct php.ini has been used, and php.ini has give the correct path to ioncube module, you may need to put the ioncube module under /usr/local/lib/php/extensions/...
Reply With Quote
  #7  
Old 04-27-2009, 02:31 PM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by mistwang View Post
check the phpinfo() see if the correct php.ini has been used, and php.ini has give the correct path to ioncube module, you may need to put the ioncube module under /usr/local/lib/php/extensions/...
All done. Correct php.ini is being loaded. I've copied the module there to no avail.
Reply With Quote
  #8  
Old 04-27-2009, 08:00 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Try run the lsphp5 -i from command line, it should dump a message why iocube cannot be loaded.

/path/to/lsws/fcgi-bin/lsphp5 -i
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:56 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.