My environment is :
[root@devapp etc]# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 6.3 (Santiago)
Here's what I've done to upgrade PHP.
1. Configure REMI Repository
# wget https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh epel-release-6-8.noarch.rpm
# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# rpm -Uvh remi-release-6.rpm
2. Activate REMI Repository
# yum repolist
# yum-config-manager --enable remi-php70
# yum --showduplicates list php
# yum update php
4. Verify the PHP version
# php -v
5. Restart Web Server
# service httpd restart
Artikel Terkait :
- [Linux] Unicode Support CentOS 5.5, PHP And PCRE
- [PHP] (en)/(de)crypt md5
- [PHP] ASCII from PHP
- [PHP] DNS dan IPLOOKUP di PHP
- [Linux] Upgrade PHP 5 to PHP 7 using Yum on Oracle RHEL 6.3 Santiago
- [Linux] Install php-mbstring On ORHEL 6.3
- [Apache] Redirect HTTP To HTTPS
- [Linux] Apache Tomcat 6 And Ubuntu 10.04
- [Linux] Apache Web Server On Slackware
- [Linux] SSL Certificates, Private Keys and CSRs with OpenSSL
- [Linux] Transfer Files Or Folder Using SCP
0 comments:
Post a Comment