fix php open tag
check realy pid of process