⑴ php版本VC6和VC9,Non Thread Safe和Thread Safe的区别
vc就是常说的microsoft visual c++ redistributable package,vc6和9代表的不同版本,6应该是vc++6.0,9是vc++2008,10是vc++2010,11是vc++2012,如果用相应的版本的visual studio编译的,同时还需要运行库的支持,不然就会报常见的缺少vcr***.dll错误,也就是说vc6版本需要安装visual c++ 6.0 运行库,vc9需要安装microsoft visual c++ 2008 redistributable package,现在主流是vc9以上了。至于线程安全,官网是这样说的
Which version do I choose?
IIS
If you are using PHP as FastCGI with IIS you should use the Non-Thread Safe (NTS) versions of PHP.
Apache
Please use the Apache builds provided byApache Lounge. They also provide VC11 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.
If 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. Do NOTuse VC9+ versions of PHP with the apache.org binaries.
With Apache you have to use the Thread Safe (TS) versions of PHP.
VC9 and VC11
More recent versions of PHP are built with VC9 or VC11 (Visual Studio 2008 and 2012 compiler respectively) and include improvements in performance and stability.
The VC9 builds require you to have theVisual C++ Redistributable for Visual Studio 2008 SP1 x86 or x64 installed.
The VC11 builds require to have the Visual C++ Redistributable for Visual Studio 2012x86 or x64 installed.
TS and NTS
TS refers to multithread capable builds.NTS refers to single thread only builds. Use case for TS binaries involves interaction with a multithreaded SAPI and PHP loaded as a mole into a web server. For NTSbinaries the widespread use case is interaction with a web server through the FastCGI protocol, utilizing no multithreading (but also for example CLI).
⑵ 就是说php没有安装vc9运行库吗
装下vc2008运行库。
⑶ php版本选择问题.VC6和VC9的区别,TS和NTS如何选择
TS是Thread Safety,代表线程安全,而NTS是None Thread Safe代表非线程安全。
Windows系统下才分线程安全与非线程安全,
windows + Apache + PHP(模块) :使用线程安全版本。
windows + Apache + PHP(FastCGI) :使用非线程安全版本。
如果你的电脑是32位的, 那装x86的版本,如果是64位的, 装x64的版本!
一般来说不区分32位和64位,或者64位操作系统兼容32位的PHP,但是在某些操作系统上还是区分32位和64位的,例如windows 2008。
vc6和vc9是指vc运行库的版本,你PHP版本标志的是VC9,那么运行的时候,需要安装vc9
VC9 -是安装运行使用 Visual Studio 2008 生成的 C++ 应用程序所必需的运行时组件。
这篇教程文章里提供700多个PHP版本下载。(700个PHP版本一键切换)
网络搜索这个文章标题:
PHP集成环境如何自定义PHP版本,同时运行多个php版本一键开启模块。
搜到的文章中,在文章的附件里有提供PHP历史版本下载,差不多700多个PHP版本,最老和最新版本都包含了。如果你找不到,就找原文吧,因为你搜到的文章可能是被其他网站转载的。
建议使用PHPWAMP绿色集成环境,700个PHP版本随意切换,多版本同时运行。
(网络搜PHPWAMP有详细的使用教程,能同时运行多个PHP版本,一键去端口等)
⑷ phpstudy mysql连不上,提示要安装vc9运行库,安装后还是不行是怎么回事
VC9一般要求装32位的,不要看系统是多少位的,默认下载的时候有可能是64位的
看是否提示端口被占用,phpstudy里面Apache或者Tomcat启动不了,是的话,查看系统内是否安咋混个了IIS,停止服务,或者而直接查看哪个进程占用了80端口,把他杀掉,或者是给Apache改个别的端口
⑸ 运行PHPstudy时总是显示检测不到vc9运行库
phpstudyadmin没用看说明xampp等差东西首先软件control或启类程序运行网站源码复制htdoc或软件默认web目录根据网站源码安装说明安装mysql操作打phpmyadmin行。
⑹ phpstudy是干嘛用的
phpstudy是一个php运行环境的集成包,用户不需要去配置运行环境,就可以使用,phpstudy不仅是一款比较好用的php调试环境工具,并且还包括了开发工具和常用手册,对于新手是有很大帮助的。
phpstudy适合多种系统操作,并且支持IIS和Nginx,phpstudy程序包集中了很多php版本的编写语言,运行速度也是很快的。
phpstudy的优点和使用注意事项
用户在使用的时候,根本不想要下载ftp软件,phpstudy软件本身是有ftp服务器,并且对服务器进行监控,随时记录文件被修改的情况。
很多程序员在使用phpstudy的时候,会遇到phpstudy启动失败,phpstudy的启动失败的原因有很多,主要是有以下三种可能性,一是由于防火墙受到拦截,二是可能就是80端口被IIS占用,还有可能就是VC9运行库在电脑上没有安装。
⑺ PHP中VC6 X86和VC9 X86的区别及 Non Thread Safe的意思
VC6是什么?
VC6就是legacy Visual Studio 6 compiler,就是使用这个编译器编译的。
VC9是什么?
VC9就是the Visual Studio 2008 compiler,就是用微软的VS编辑器编译的。
那我们如何选择下载哪个版本的PHP呢?
如果你是在windows下使用Apache+PHP的,请选择VC6版本;
如果你是在windows下使用IIS+PHP的,请选择VC9版本;
那Non Thread Safe是什么?
Non Thread Safe就是非线程安全;
Thread Safe 是什么?
Thread Safe 是线程安全;
官方并不建议你将Non Thread Safe 应用于生产环境,所以我们选择Thread Safe 版本的PHP来使用。
⑻ PHP中V6,V9和V11是什么意思
vc运行库的版本。vc9运行php就需要vc9运行库。vc11就需要vc11运行库