Home >Backend Development >PHP Problem >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.
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!