Issue with PHP

mistwang

LiteSpeed Staff
#2
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.
 

mistwang

LiteSpeed Staff
#5
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>
 
Top