【问题标题】:How to upgrade php 5.4.40 to 5.6 in centos 6 32 bit?如何在 centos 6 32 位中将 php 5.4.40 升级到 5.6?
【发布时间】:2015-10-04 21:51:14
【问题描述】:

我的日志中有这个错误:

标头和客户端库次要版本不匹配。标头:50531 库:50625

我发现我必须升级我的 php 版本。我尝试了一些方法来更新,它没有升级。

【问题讨论】:

  • 您是否正在使用您的 centos 构建运行 WHM?
  • 没有。我在专用服务器上使用直接管理员

标签: php linux centos upgrade


【解决方案1】:

使用直接管理员,您需要访问/usr/local/directadmin/custombuild/

在目录中使用文本编辑器访问此文件:options.conf

更改所需的值并运行以下命令。

cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php d

您也可以这样设置:

cd /usr/local/directadmin/custombuild
./build set php5_ver 5.3
./build set mysql 5.1
./build update
./build clean
./build apache d
./build php d
./build mysql d

重建zend:

cd /usr/local/directadmin/custombuild
./build zend

如果您遇到 zend 已安装,请阅读这篇关于从 php.ini 文件中删除行的帖子:https://forum.directadmin.com/showthread.php?t=43301

由 directadmin 论坛提供。

【讨论】:

  • 更新后我在日志中收到此错误:[Fri Jul 17 12:00:44.946983 2015] [:error] [pid 14346] [client 91.106.70.121:42686] 加载 /usr/local 失败/lib/ioncube_loader_lin_5.4.so:/usr/local/lib/ioncube_loader_lin_5.4.so:未定义符号:zend_unmangle_property_name [Fri Jul 17 12:00:44.947143 2015] [:error] [pid 14346] [client 91.106.70.121 :42686] Zend Guard Loader 需要 Zend Engine API 版本 220100525。 [Fri Jul 17 12:00:44.947184 2015] [:error] [pid 14346] [client 91.106.70.121:42686] Zend Engine API 版本 220121212 已安装,较新。 [2015 年 7 月 17 日星期五 12:00:44.947230]
  • 我有这条消息要重建 zend:文件已经存在:ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz PHP 5.5 没有 Zend Guard 加载器
猜你喜欢
  • 2017-09-03
  • 1970-01-01
  • 2015-07-22
  • 1970-01-01
  • 2021-11-20
  • 2013-04-25
  • 1970-01-01
  • 1970-01-01
  • 2015-07-22
相关资源
最近更新 更多