deal with the php shell files