Home >Backend Development >PHP Tutorial >nginx - Problems with ts version of php installation extension

nginx - Problems with ts version of php installation extension

WBOY
WBOYOriginal
2016-08-29 08:50:511146browse

I wanted to play with the pthreads extension of php, and I needed to enable zts, so I recompiled php, but found that the recompiled php, after compiling and installing the extension, did not take effect after adding the extension to php.ini, but compiling php into nts After versioning, those extensions can be installed successfully. What is the problem? I can’t find a solution on Baidu. It seems that almost no one on the Internet asks this question. I don’t know if anyone has encountered this problem!

Reply content:

I wanted to play with the pthreads extension of php, and I needed to enable zts, so I recompiled php, but found that the recompiled php, after compiling and installing the extension, did not take effect after adding the extension to php.ini, but compiling php into nts After versioning, those extensions can be installed successfully. What is the problem? I can’t find a solution on Baidu. It seems that almost no one on the Internet asks this question. I don’t know if anyone has encountered this problem!

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