PHP 在 Windows 服务器上 - 升级
PHP on Windows Server - upgrade
我目前有一个 Windows 2003 服务器 运行 同时支持 IIS(用于经典 ASP 支持)和 PHP 5.2.6 版
我有一个新服务器,Windows 2012R2 再次 运行ning IIS,我正在尝试为 PHP 安装什么...
我应该:
1) 安装 5.6.21 还是我应该跳到 7.0.6 - 如果我转到 7,我所有的 PHP 代码是否仍然 运行 可以?
2) "Thread Safe" 和 "Non Thread Safe" 有什么区别 - 这似乎是下载正确版本时的重要选择,我不明白有什么区别...... .
感谢您提供任何信息!
PHP 7 有一些 backwards incompatible changes,因此您的代码可能无法正常工作。
对于 IIS,建议使用 documentation 中指定的非线程安全。
Note:
Non-thread-safe build of PHP is recommended when using IIS. The non-thread-safe builds are available at » PHP for Windows: Binaries and Sources Releases.
我目前有一个 Windows 2003 服务器 运行 同时支持 IIS(用于经典 ASP 支持)和 PHP 5.2.6 版
我有一个新服务器,Windows 2012R2 再次 运行ning IIS,我正在尝试为 PHP 安装什么...
我应该:
1) 安装 5.6.21 还是我应该跳到 7.0.6 - 如果我转到 7,我所有的 PHP 代码是否仍然 运行 可以?
2) "Thread Safe" 和 "Non Thread Safe" 有什么区别 - 这似乎是下载正确版本时的重要选择,我不明白有什么区别...... .
感谢您提供任何信息!
PHP 7 有一些 backwards incompatible changes,因此您的代码可能无法正常工作。
对于 IIS,建议使用 documentation 中指定的非线程安全。
Note: Non-thread-safe build of PHP is recommended when using IIS. The non-thread-safe builds are available at » PHP for Windows: Binaries and Sources Releases.