Hi, I need some help with enabling ZTS in php on Ubuntu 12.04. A certain server software that I am trying to run requires the pthreads extension, and it says it needs ZTS enabled in php in order to install. How can I recompile php? Is there any “easy” way to do it, that lets me choose some options?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You will have to compile and install php yourself. See <a href=“http://devincharge.com/compiling-php-5-4-ubuntu-12-04/”>http://devincharge.com/compiling-php-5-4-ubuntu-12-04/</a>
I recommend taking a snapshot of your droplet before doing that in case anything “breaks” or stops working properly.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.