PHP version is divided into Non Thread Safe and Thread Safe, Non Thread Safe means a non-thread-safe, Thread Safe means a thread-safe, what is the difference? how to choose?
Non Thread Safe difference and the Thread Safe
Non Thread Safe和Thread Safe
● Non the Thread Safe : non-thread-safe, non-thread-safe environment is a mix of IIS;
● the Thread Safe : thread-safe, thread-safe environment with Apache match.
If you are using IIS server, select the Non Thread Safe (non-thread-safe), if you use Apache server, then select the Thread Safe (thread-safe).
So, how to view the current PHP in the end is the Non Thread Safe (non-thread-safe) or Thread Safe (thread-safe)? Very simple, print phpinfo (), see Thread Safety Options PHP version information, this option is enable, is Thread Safe (thread-safe) version, otherwise None Thread Safe (non-thread-safe) version.
The above is how PHP version Non Thread Safe and Thread Safe choose? What is the difference? Details, please pay attention to more php Chinese net other related articles!
https://www.php.cn/php-weizijiaocheng-418642.html