fix loading pdo extension and install memcached