Difference between revisions of "Install php 5.6 on CentOS 6.x"
From Notes_Wiki
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Server administration tips and tricks]] > [[Install php 5.6 on CentOS 6.x]] | |||
By default using yum an older version of PHP is available on CentOS 6.x. To install php5.6 via yum use: | By default using yum an older version of PHP is available on CentOS 6.x. To install php5.6 via yum use: | ||
Line 12: | Line 11: | ||
yum -y install php56w-gd #for graphics | yum -y install php56w-gd #for graphics | ||
</pre> | </pre> | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Server administration tips and tricks]] > [[Install php 5.6 on CentOS 6.x]] |
Latest revision as of 15:53, 22 July 2022
Home > CentOS > CentOS 6.x > Server administration tips and tricks > Install php 5.6 on CentOS 6.x
By default using yum an older version of PHP is available on CentOS 6.x. To install php5.6 via yum use:
- yum localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
- yum localinstall https://mirror.webtatic.com/yum/el6/latest.rpm
- yum -y install php56w
For other packages similarly append 56w to the names. Example:
yum -y install php56w-mysqlnd yum -y install php56w-gd #for graphics
Home > CentOS > CentOS 6.x > Server administration tips and tricks > Install php 5.6 on CentOS 6.x