Question: what is the difference between thread and non thread safe php?
Answer: Thread Safe (TS) and Non-Thread Safe (TS) are the two different PHP builds available. ... For example, in Apache server, if we use mod_php as worker MPM, thread-safe version should be used. Non-thread-safe version on the other hand is used where PHP is installed as a CGI binary.