You can exam the core file by following command,
gdb <lsphp_path> <core.xxxx>
bt
It can tell you the approximate location where PHP crashes. You can file a bug report to the PHP group. Also check lsws/logs/stderr.log and lsws/logs/error.log for PHP related errors.
Maybe upgrade the php binary to the latest.