Those core files are corpse of crashed FCGI PHP process, not really LSWS related, you need to use option "--enable-debug" when you compile the PHP binary to include the symbol table, then use command "gdb <path/to/php> <corefile>" to exam the core file, then type command "bt", submit a bug...