install debian package with change configuration
Download and extract package sources with
apt-get source php5
Edit
debian/rules
file and add--enable-roxen-zts
or--enable-maintainer-zts
to COMMON_CONFIG (confirm which one you need with./configure --help
).sudo apt-get build-dep php5
to install build dependencies.From directory where package source were extracted run
dpkg-buildpackage -uc -b
.
Optionally if you have devscripts
package installed you may run debuild -uc -b
instead of dpkg-buildpackage -uc -b
.