如何在安装linux的亚马逊Php5.6 [英] How to Install Php5.6 in amazon linux

查看:255
本文介绍了如何在安装linux的亚马逊Php5.6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用以下命令在Amazon Linux的安装PHP 5.6:

I'm trying to install php 5.6 on Amazon linux using the following command:

$ yum install php56
No package php56 available.
Error: Nothing to do

有一个仓库,我需要在为了做到这一点补充的吗?我搜索了这一点,但找不到任何来源。我也想知道哪个版本的Apache使用这个版本的PHP工作?

Is there a repository I need to add in order to do this? I've searched for this but couldn't find any source. I'd also like to know which Apache versions work with this version of php?

推荐答案

AWS还没有打包的PHP 5.6。你需要从ALAMI库安装PHP 5.5,或从源代码构建5.6。

AWS has not yet packaged php 5.6. You need to install php 5.5 from the ALAMI repositories, or build 5.6 from source.

要列出可用5.5软件包使用百胜搜索php55

To list the available 5.5 packages use yum search php55

php55 是基础包,但你可能需要别人列出。

The php55 is the base package, but you may need others listed as well.

在5.6就绪后,你就可以用找到它
百胜搜索php56

When 5.6 is ready, you'll be able to find it with yum search php56

您可以找到关于构建源在 php.net ,具体的安装在Unix系统/阿帕奇上2.x的Unix系统

You can find information on building the source at php.net, specifically Installation on Unix Systems / Apache 2.x on Unix Systems

这篇关于如何在安装linux的亚马逊Php5.6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆