fixed issues from commit - php.c revert accidental change and sort makefile