PHP SOAP Server with Memcached queries
The new thing I wanted to try out this week was to implement a SOAP server using PHP to query against a MySQL database. I also add a memcached server to cache the query results for each SOAP call so that all queries are not hitting the database.
To install a memcached server on the Ubuntu Natty setup was simple. The following command will install memcache as well as the php libraries for memcache and soap:
apt-get install memcached php5-memcache php-soap