Fixed bug running memcached from LAMP script