Issue with PHP

Discussion in 'General' started by iHack, Oct 21, 2007.

  1. iHack

    iHack New Member

    Php

    Nevermind!
    Last edited: Jan 22, 2008
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. iHack

    iHack New Member

    Nevermind!
    Last edited: Oct 22, 2007
  4. iHack

    iHack New Member

    Nevermind!
    Last edited: Oct 22, 2007
  5. mistwang

    mistwang LiteSpeed Staff

    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>
  6. iHack

    iHack New Member

    Nevermind!
    Last edited: Oct 22, 2007

Share This Page