Hello:
am trialling LSWS and have installed it within a chroot. The path to LSWS is /chroot/opt/lsws and the root being /chroot. I attempted to compile PHP using the LSWS method but it complained about missing wget/curl even though I copied them into the chroot.
So, I downloaded PHP 5.4.8 and compiled from source using the --with-litespeed and then copied the resuling sapi/litespeed/php binary to /chroot/opt/lsws/fcgi-bin/lsphp.
This works okay but I have also compiled the PHP 5.4 Suhosin extension and unsure where to place it ? is there a specific directory under the chroot it needs to be placed; and indeed any further extensions which we may required.
Many thanks.
am trialling LSWS and have installed it within a chroot. The path to LSWS is /chroot/opt/lsws and the root being /chroot. I attempted to compile PHP using the LSWS method but it complained about missing wget/curl even though I copied them into the chroot.
So, I downloaded PHP 5.4.8 and compiled from source using the --with-litespeed and then copied the resuling sapi/litespeed/php binary to /chroot/opt/lsws/fcgi-bin/lsphp.
This works okay but I have also compiled the PHP 5.4 Suhosin extension and unsure where to place it ? is there a specific directory under the chroot it needs to be placed; and indeed any further extensions which we may required.
Many thanks.