Hello World from OSS Silicon Valley


HowToUse/PHP/5.5

  • The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
  • Go to HowToUse/PHP/5.5.

#contents

*Prerequisite [#x25a0f0d]
-CentOS installation (You can refer [[HowToUse/CentOS/6.5]])
-Apache Web Server installation (You can refer [[HowToUse/Apache/2.4]])

php5.5 requires httpd later than 2.4, so if you haven't installed httpd yet, it will install httpd2.4 automatically.
In case you have already had older version of httpd, it may fail.


*Install&Setup [#rff91024]
:Step.1|
Setup repository path.

 $ sudo rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm


:Step.2|
Uninstall php-common-5.3 to avoid conflict with php-common-5.5.

 $ sudo yum remove php-common-5.3*


:Step.2|
:Step.3|
Install php 5.5.

 $ sudo yum install php55w php55w-opcache

php5.5 requires httpd later than 2.4, so if you haven't installed httpd yet, it will install httpd2.4 automatically.
In case you have already had older version of httpd, it may fail.

Or you can use the following command.

 $ sudo yum install yum-plugin-replace
 $ sudo yum replace php-common --replace-with=php55w-common


*Author [#ke3e30fa]
S.Yatsuzuka