How to build a pthread-enabled CLI version of latest PHP version. Just use these commands:
$ tar jxf php-5.4.14.tar.bz2
$ cd php-5.4.14/
$ (cd ext && git clone git://github.com/krakjoe/pthreads.git)
$ ./buildconf --force
$ ./configure --prefix=/opt/php-pthread --disable-cgi --with-readline \
--with-openssl --with-curl --enable-pthreads --with-tsrm-pthreads \
--enable-maintainer-zts
$ make
$ make install
Documentation is at http://php.net/manual/en/book.pthreads.php
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment