在 Windows Server 2008 IIS 7 上从 PHP 5.2.17 升级到 5.2.6
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6830943/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
upgrading from PHP 5.2.17 to 5.2.6 on Windows Server 2008 IIS 7
提问by Jiyoung
I've been searching on this matter but didn't seem to find the right guide or answer. I run Windows Server 2008 IIS 7. (I'm not expert in this yet)
我一直在寻找这个问题,但似乎没有找到正确的指南或答案。我运行 Windows Server 2008 IIS 7。(我还不是这方面的专家)
First of all, exact file...there are many files so I am not sure if php-5.2.6-nts-Win32 is right one for me.
首先,确切的文件...有很多文件,所以我不确定 php-5.2.6-nts-Win32 是否适合我。
http://kr2.php.net/releases/Download: PHP 5.2.6 (tar.bz2) PHP 5.2.6 (tar.gz) PHP 5.2.6 zip package PHP 5.2.6 installer PECL 5.2.6 Win32 binaries PHP 5.2.6 Win32 Debug Pack PHP 5.2.6 Non-thread-safe zip package PHP 5.2.6 Non-thread-safe installer PHP 5.2.6 Win32 Debug Pack PECL 5.2.6 Non-thread-safe Win32 binaries
http://kr2.php.net/releases/下载: PHP 5.2.6 (tar.bz2) PHP 5.2.6 (tar.gz) PHP 5.2.6 压缩包 PHP 5.2.6 安装程序 PECL 5.2.6 Win32 二进制文件 PHP 5.2.6 Win32 Debug Pack PHP 5.2.6 Non-thread-safe zip package PHP 5.2.6 Non-thread-safe installer PHP 5.2.6 Win32 Debug Pack PECL 5.2.6 Non-thread-safe Win32 binaries
If I know exact file to download. After that, how should I proceed the upgrade?
如果我知道要下载的确切文件。之后,我应该如何进行升级?
I tried overwritting on existing folder that is running PHP 5.2.17...somehow Joomla site seemed work fine except some other sites that used PEAR or other ext... I guess it's not the right way...
我尝试覆盖运行 PHP 5.2.17 的现有文件夹......不知何故,Joomla 站点似乎工作正常,除了一些使用 PEAR 或其他 ext 的其他站点......我想这不是正确的方法......
I would be really grateful if you could help me with successfully upgrading PHP for Joomla program that I want to use...
如果您能帮助我成功为我想使用的 Joomla 程序升级 PHP,我将不胜感激...
Thank you!!
谢谢!!
PS. What is "x86 Non Thread Safe" "win32 binary" ?
附注。什么是“x86 非线程安全”“win32 二进制”?
回答by Ext
First i must "upgrading" to 5.2.6 ? Isn't it downgrading to it ?
首先我必须“升级”到 5.2.6 吗?不是降级了吗?
If it's a mistake and you mean 5.3.6 not 5.2.6 than:
如果这是一个错误并且您的意思是 5.3.6 而不是 5.2.6,那么:
Just the other day i finished doing the same thing. PHP 5.2.17 to 5.3.6. On the IIS 7(7.5) install this (PHP Manager for IIS) the http://phpmanager.codeplex.com/.
就在前几天,我完成了同样的事情。PHP 5.2.17 到 5.3.6。在 IIS 7(7.5) 上安装这个(用于 IIS 的 PHP 管理器)http://phpmanager.codeplex.com/。
Doing this will give you the power to have both 5.2.17 and 5.3.6 on the same machine but on different folders. eg:
这样做将使您能够在同一台机器上但在不同的文件夹上同时拥有 5.2.17 和 5.3.6。例如:
D:\php-5.2.17\
D:\php-5.3.6\
with the php.ini files in each directory.
与每个目录中的 php.ini 文件。
After you install the IIS plugin you now have this in your server configuration:
安装 IIS 插件后,您现在的服务器配置中就有了:
Now you can quickly and easy change the current SITE PHP version and make changes to the INI file. Add or remove extension etc.
现在,您可以快速轻松地更改当前的 SITE PHP 版本并对 INI 文件进行更改。添加或删除扩展等。