`
jsntghf
  • 浏览: 2477503 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

PHP在Linux上的安装

    博客分类:
  • PHP
阅读更多

系统环境:Red Hat Enterprise Linux Server release 6.2 (Santiago)

 

1、下载并安装remi源

$ rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

 

2、安装php

$ yum --enablerepo=remi install php php-*

 

安装过程中,如果提示Requires: libssl.so.10(libssl.so.10)(64bit),安装相应的rpm包即可。

$ sudo yum install http://mirror.centos.org/centos/6/os/x86_64/Packages/openssl-1.0.1e-30.el6.x86_64.rpm

 

具体rpm包的地址可在http://mirror.centos.org/centos/6/os/x86_64/Packages/进行查找。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics