LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Issue with PHP (http://www.litespeedtech.com/support/forum/showthread.php?t=1441)

iHack 10-21-2007 02:36 AM

Php
 
Nevermind!

mistwang 10-21-2007 01:19 PM

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.

iHack 10-22-2007 12:11 AM

Nevermind!

iHack 10-22-2007 05:49 AM

Nevermind!

mistwang 10-22-2007 07:38 AM

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>

iHack 10-22-2007 07:43 AM

Nevermind!


All times are GMT -7. The time now is 05:28 AM.