Home  >  Article  >  Backend Development  >  How to determine whether the php version is ts or nts version

How to determine whether the php version is ts or nts version

Guanhui
GuanhuiOriginal
2020-05-04 15:16:084198browse

How to determine whether the php version is ts or nts version

How to determine whether the php version is ts or nts version

First call the "phpinfo()" function in the php file to save the php information Print it out; then check the ThreadSafety item, which is thread safety. If it is enabled, it should generally be the ts version, otherwise it is the nts version.

How to determine whether the php version is ts or nts version

The above is the detailed content of How to determine whether the php version is ts or nts version. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn