永发信息网

解析PHP中VC6 X86和VC9 X86的区别及 Non Thread Safe的意思

答案:2  悬赏:0  手机版
解决时间 2021-02-13 18:23
  • 提问者网友:战魂
  • 2021-02-13 06:12
解析PHP中VC6 X86和VC9 X86的区别及 Non Thread Safe的意思
最佳答案
  • 五星知识达人网友:人類模型
  • 2021-02-13 06:49
VC6版本编译的php都是比较低版本的PHP,目前已不使用,但如果你使用的是apache.org中下载的windows版本服务器,必须使用VC6版本

VC9 x86表示需要你安装Visual C++ Redistributable for Visual Studio 2008 SP1 X86
Non Thread Safe:使用IIS+PHP、Fast-cgi+PHP需要用NTS(Non Thread Safe)版本,使用Apache+PHP需要使用TS(Thread Safe)版本
全部回答
  • 1楼网友:杯酒困英雄
  • 2021-02-13 07:48
do notuse vc9+ versions of php with the apache. 如果你使用从apache,vc9是用visual studio2008编译的 ts refers to multithread capable builds. use case for ts binaries involves interaction with a multithreaded sapi and php loaded as a module into a web server,并且是thread safe版本 vc6是用visual studio 6编译的.org binaries.nts refers to single thread only builds,就用vc6版本. for nts binaries the widespread use case is interaction with a web server through the fastcgi protocol. with apache you have to use the thread safe (ts) versions of php.org下载apache1或apache2if you are using php with apache 1 or apache2 from apache.org (not recommended) you need to use the older vc6 versions of php compiled with the legacy visual studio 6 compiler, utilizing no multithreading (but also for example cli). non thread safe是指只创建一个线程
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯