Revert "Removed PHP API server"

This reverts commit f07f1ee721f572983b4cfc94799b9acd8cd6b13e.