0

Considering this question and answer

List of PHP modules that are thread safe
and
Is PHP Thread Safe

My question is, is PHP thread safe in 2012?

maazza
  • 254
  • 1
  • 6
  • 14
  • This might help: http://serverfault.com/questions/415075/worker-mpm-and-php – Kev Aug 20 '12 at 12:51
  • Afaik no, but you can try to use fpm. Details here : [http://serverfault.com/questions/415075/worker-mpm-and-php][1] [1]: http://serverfault.com/questions/415075/worker-mpm-and-php –  Aug 21 '12 at 21:35

1 Answers1

0

PHP can be thread-safe if you don't use non-thread-safe extensions. See this page for information on thread safety and checking that your PHP variant is thread safe for use with Apache. And have a look here if you need help choosing between thread-safe or non-thread-safe editions of PHP: it depends on the Apache worker and how it handles requests (in terms of threads, processes, etc.).

tricasse
  • 140
  • 5