Fixed scribe compile error and added PHP package

Added the "-DHAVE_NETINET_IN_H -DHAVE_INTTYPES_H " compiler flags to the scribe makefile.