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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Issue with PHP

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2007, 02:36 AM
iHack iHack is offline
Member
 
Join Date: Oct 2007
Posts: 18
Default Php

Nevermind!

Last edited by iHack; 01-22-2008 at 09:10 AM..
Reply With Quote
  #2  
Old 10-21-2007, 01:19 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
try this command from command line
Code:
chroot /opt /lsws/fcgi-bin/lsphp
It should tell you the missing library in the chroot jail, then copy those files over to the jail.
Reply With Quote
  #3  
Old 10-22-2007, 12:11 AM
iHack iHack is offline
Member
 
Join Date: Oct 2007
Posts: 18
Nevermind!

Last edited by iHack; 10-22-2007 at 12:54 PM..
Reply With Quote
  #4  
Old 10-22-2007, 05:49 AM
iHack iHack is offline
Member
 
Join Date: Oct 2007
Posts: 18
Nevermind!

Last edited by iHack; 10-22-2007 at 12:54 PM..
Reply With Quote
  #5  
Old 10-22-2007, 07:38 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Since the root directory has been changed to /opt, so the path to lsphp should be
/lsws/fcgi-bin/lsphp, no /opt/lsws/...

Another tool to debug this is to use "strace" under the chroot, copy strace to the jail
then do

chroot /opt strace /lsws/fcgi-bin/lsphp <you_test_php_script>
Reply With Quote
  #6  
Old 10-22-2007, 07:43 AM
iHack iHack is offline
Member
 
Join Date: Oct 2007
Posts: 18
Nevermind!

Last edited by iHack; 10-22-2007 at 12:54 PM..
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 04:54 AM.



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