美文网首页
如何判断php版本是ts还是nts版的

如何判断php版本是ts还是nts版的

作者: Mracale | 来源:发表于2023-10-31 15:58 被阅读0次

如何判断php版本是ts还是nts版的

首先在php文件中调用“phpinfo()”函数,将php信息打印出来;
然后查看其中的ThreadSafety项,即线程安全,
如果是enabled,一般来说应该是ts版,否则(disabled)是nts版。

image.png

相关文章

网友评论

      本文标题:如何判断php版本是ts还是nts版的

      本文链接:https://www.haomeiwen.com/subject/jiaiidtx.html