简体   繁体   中英

How to install php5.5 on Centos/RHEL 6.5 just via rpm?

I can't use the yum at all!

is there any php5.5 rpm file can be download to fit the the centos 6.5? I can't use yum, so the php extension such as php55w-xml php55w-mcrypt php55w-gd php55w-devel php55w-mysql php55w-mbstring also should be downloaded in the form of rpm file.

Where can I find these rpm files?

Should I use rpmbuild to build these?

For CentOS 6, PHP 5.3.3 is the latest version of PHP available through the official CentOS package repository. Keep in mind, even though PHP 5.3.3 was released July 22, 2010, the official CentOS 6 PHP package was updated November 24, 2013. Why? Critical bug fixes are backported. See this question for more information: "Why are outdated packages installed by yum on CentOS ? (specifically PHP 5.1) How to fix?"

If you'd like to use a more recent version of PHP, Les RPM de Remi offers CentOS PHP packages via a repository that you can add to the yum package manager. To add it as a yum repository, follow the site's instructions .

Note: Questions of this variety are probably better suited for Server Fault.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM