PHP5-MC creates an interface for PHP applications to communicate directly with a Minecraft server on the same host provided the host is running a version of Linux/Mac OSX.