I wanted to test the new stable pthreads extension for PHP on my Arch Linux 64-bit.
to install the pthreads extension using pecl
you are required to use a compiled version
of PHP with the the thread safety support flag --enable-maintainer-zts
.
the most clean way on Arch would be then rebuild the original package with the flag.
this was very important to me to keep my PHP as stable as possible.
so here's what you should do ...
First checked what packages dependent on the 'php' package:
pacman -Qii php