简体   繁体   中英

Install PHP 5.4.1 in centos6.2

In centos6.2 default is php 5.3.3. But i want install php 5.4.1. Can you help me? How do php5.4.1 install in centos6.2? Thanks!

rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm
yum install php54w

See this for more info.

  1. you must yum remove php-common that will remove php from your server.
  2. then php -v to make sure there is no php
  3. finally rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm followed by yum install php54w
  4. and ideally you would want to install php54w-fpm too

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