php server fix bug

error message is not pointer.
fix bug