在 plesk 9x 上将 php 5.1.6 升级到 php 5.2?

发布于 2024-10-09 13:01:20 字数 54 浏览 2 评论 0原文

我如何使用 plesk 从 5.1.6 升级到 5.2,我需要此升级才能构建我的应用程序欢呼?

how can i upgrade from 5.1.6 to 5.2 using plesk, i need this upgrade in order to build my app cheers?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

如此安好 2024-10-16 13:01:20

来自这篇文章

要将 Linux 服务器上的 PHP 5 升级到最新版本,请执行以下步骤。

适用于:

  • Plesk 8.x for Linux
  • Plesk 9.x for Linux

下载更新 Yum 存储库的安装程序脚本:

[root@server ~]# wget http://78.129.170.254/cpinstall/atomic
--2009-11-12 15:40:22-- http://78.129.170.254/cpinstall/atomic
Connecting to 78.129.170.254:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8918 (8.7K) [text/plain]
Saving to: `atomic'

100%[=====================================>] 8,918 35.7K/s in 0.2s

2009-11-12 15:40:22 (35.7 KB/s) - `atomic' saved [8918/8918]

使用以下命令执行此下载的脚本:

[root@server ~]# sh atomic

Atomic Archive installer, version 1.1
Configuring the [atomic] yum archive for this system

Installing the Atomic GPG key: OK
Downloading atomic-release-1.0-10.el5.art.noarch.rpm: OK

Would you like to add the Plesk yum repository to the system?

Enable Plesk repository? (y/n) [Default: n]: y

Plesk 8.6 and 9.2 repositories are available:
NOTE: Plesk 9 repos are only available for rhel/centos 4 and 5

Enable Plesk 8.6 or 9.2? (8/9) [Default: 8]: 9

The Atomic Rocket Turtle archive has now been installed and configured for your system.

The following channels are available:
atomic - [ACTIVATED] - contains the stable tree of ART packages.
atomic-testing - [DISABLED] - contains the testing tree of ART packages.
atomic-bleeding - [DISABLED] - contains the development tree of ART packages.

现在运行 yum update php 将 PHP 升级到最新版本:

[root@server ~]# yum upgrade php

PHP 升级过程将开始&将在接下来的 5 分钟内完成。

最后执行这3个命令来重新启动Web服务&接受新的 PHP:

[root@server ~]# /etc/init.d/psa stopall
[root@server ~]# /etc/init.d/psa startall
[root@server ~]# /etc/init.d/psa restart

现在使用 php -v 命令检查较新安装的 PHP 版本。

From this post:

In order to upgrade PHP 5 on a Linux server to the latest version perform the following steps.

Applies to:

  • Plesk 8.x for Linux
  • Plesk 9.x for Linux

Download the installer script which updates Yum's repositories:

[root@server ~]# wget http://78.129.170.254/cpinstall/atomic
--2009-11-12 15:40:22-- http://78.129.170.254/cpinstall/atomic
Connecting to 78.129.170.254:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8918 (8.7K) [text/plain]
Saving to: `atomic'

100%[=====================================>] 8,918 35.7K/s in 0.2s

2009-11-12 15:40:22 (35.7 KB/s) - `atomic' saved [8918/8918]

Execute this downloaded script using the following command:

[root@server ~]# sh atomic

Atomic Archive installer, version 1.1
Configuring the [atomic] yum archive for this system

Installing the Atomic GPG key: OK
Downloading atomic-release-1.0-10.el5.art.noarch.rpm: OK

Would you like to add the Plesk yum repository to the system?

Enable Plesk repository? (y/n) [Default: n]: y

Plesk 8.6 and 9.2 repositories are available:
NOTE: Plesk 9 repos are only available for rhel/centos 4 and 5

Enable Plesk 8.6 or 9.2? (8/9) [Default: 8]: 9

The Atomic Rocket Turtle archive has now been installed and configured for your system.

The following channels are available:
atomic - [ACTIVATED] - contains the stable tree of ART packages.
atomic-testing - [DISABLED] - contains the testing tree of ART packages.
atomic-bleeding - [DISABLED] - contains the development tree of ART packages.

Now run yum upgrade php to upgrade the PHP to the latest version:

[root@server ~]# yum upgrade php

The PHP upgrade process will commence & will finish within the next 5 minutes.

Finally execute these 3 commands to restart the web services & to accept the new PHP:

[root@server ~]# /etc/init.d/psa stopall
[root@server ~]# /etc/init.d/psa startall
[root@server ~]# /etc/init.d/psa restart

Now check the newer installed version of PHP using the php -v command.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文