apache - Linux yum install php 为什么版本是5.4.x的而不是最新的
PHPz
PHPz 2017-04-25 09:01:13
0
2
601

使用的是CentOS,命令:

yum install php

结果弹出来的版本是 5.4.x,这个版本有很多问题。现在最新稳定版本是 PHP 5.5.x
为什么他弹出的是这样一个老版本,是不是要安装最新版本的PHP,就得自己手动安装?
还是说 yum install php 之后,再手动update 升级?
发现安装Apache也是这样,不是最新稳定版本。

PHPz
PHPz

学习是最好的投资!

reply all (2)
洪涛

First of all, it cannot be said that there is a problem with 5.4. 5.4 is still supported, and bugs are constantly being fixed. 5.5 is a different branch with some new features and the same regular bug fixes as 5.4.

The PHP version you get is compiled for your operating system and placed in the repo. If no one updates this repo, the latest version will not be downloaded. Many times when a system is released, these files are no longer updated after a while and stay at the old version. At this time you can get the source code yourself and compile and run it.

    为情所困

    The latest version in your system software source is 5.4. If you use the command to install it, you will install 5.4

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!