Reconfigure PHP for Apache2

February 25, 2014 2.8k views
I'm using the LAMP configuration of DO but now I want to recompile PHP to enable Thread Safety. Now, I'n not a Linux expert so I'm not quite sure how to do it and what parameters to use etc. Is there somebody that could offer some assistance?
1 Answer
You should uninstall php5 first and then compile/install the new PHP version, e.g.

sudo apt-get php5 uninstall

And then compile and install PHP:

I could help on this if you'd like...
Have another answer? Share your knowledge.