Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
This might help: serverfault.com/questions/415075/worker-mpm-and-php –  Kev Aug 20 '12 at 12:51
    
ok will look into it , thanks –  maazza Aug 20 '12 at 14:14
    
Afaik no, but you can try to use fpm. Details here : [serverfault.com/questions/415075/worker-mpm-and-php][1] [1]: serverfault.com/questions/415075/worker-mpm-and-php –  coincoin Aug 21 '12 at 21:35

1 Answer 1

up vote 0 down vote accepted

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.).

share|improve this answer
    
thanks , at last i hope apache.org is up to date , so the answer is still "maybe" –  maazza Aug 22 '12 at 7:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.