* fix autoconf * update documentation, examples and PHP classes * thread-safety?