How to upgrade php 5


PHP ( Hypertext Preprocessor) is a không tính tiền and xuất hiện source server-side scripting language. Which is used lớn generate dynamic web page. PHP contain HTML,Text & script blocks. When user request for a PHP page through website browser than PHP script execute on website server and display the requested result in browser.

Bạn đang xem: How to upgrade php 5

PHP 5.5 Features:

Included generators and coroutines.Included the at last keyword.Included an improved secret key hashing API.Added tư vấn for constant array/string dereferencing.Included scalar class name determination by means of ::class.Included backing for utilizing empty() on the result of function calls and different expressions.Included support for list() builds in for every statements.Included the Zend OPcache extension for opcode reserving.The GD library has been moved up to khung 2.1 including new capacities và enhancing existing functionality và so on.

In this article I will show how khổng lồ upgrade php 5.4 to php 5.5 on CentOS/RHEL 5/6/7 system.

Upgrade PHP 5.4 to lớn 5.5

Follow the steps to lớn upgrade php 5.4 to lớn php 5.5.

1. First we need to kiểm tra the current version of PHP. To kiểm tra the versio of PHP run following command:

On CentOS/RHEL 7

# rpm -Uvh rpm -Uvh CentOS/RHEL 6

# rpm -Uvh CentOS/RHEL 5

# rpm -Uvh After installing the repository, now remove the old php version. Run the below command to remove the old php và its dependencies packages.

# yum remove php-commonYou will get some output lượt thích below.

Xem thêm: Sàn Binance Của Nước Nào - Sàn Binance Là Của Nước Nào

Dependencies Resolved=================================================================================== Package Arch Version Repository Size===================================================================================Removing: php-common x86_64 5.4.39-1.el6.remi
remi 626 kTransaction Summary===================================================================================Remove 14 Package(s)Installed size: 43 M4. Now install PHP 5.5 and php extension using following command.

# yum -y install php55w php55w-opcache# yum -y install php55w-xml php55w-mcrypt php55w-gd php55w-devel php55w-mysql php55w-intl php55w-mbstring5. Next restart the apache service after installing PHP 5.5.

# /etc/init.d/httpd restart6. Verify the PHP version using below command.

Thank you! for visiting you find this tutorial helpful please share with your friends khổng lồ keep it alive.For more helpful topic browse my website become an author at Submit Article.Stay connected lớn Facebook.
How to Install Node.js on CentOS-6/RHEL-7

Top 10 – Best Hosting Provider in India

Here’s What You Need to Know lớn Become A Front-End Developer

Turn to lớn Experts for Help with Finding the Ideal Cloud Solution

Port Scanner in Python for Linux

How to lớn Restore Database Backup in cPanel

How lớn Take Database Backup in cPanel

How khổng lồ Find php.ini file Location from Command Line

How lớn Install ImageMagic on CentOS/RHEL/Fedora

How lớn Install Python 3.5 on CentOS/RHEL 6/7/8

How khổng lồ Install Java 8 (JDK 8u45) on CentOS-6/7

How to Install XAMPP on Windows System?

How lớn Increase Maximum Execution Time Limit of PHP Scripts

How lớn Backup and Restore a Repository on Windows with TortoiseSVN

How to lớn Edit PHP.INI tệp tin via Cpanel (WHM)

How to lớn Edit PHP.INI file Via Plesk

How lớn Edit PHP.INI File

How to Increase the PHP Upload Limits

How khổng lồ Install RabbitMQ on Ubuntu

How lớn Enable Plugins in RabbitMQ

How khổng lồ Install Latest Nvidia Driver on Ubuntu

How to kiểm tra Current Date Time with PHP

How lớn Install PHP 7.2, 7.1 & 5.6 on Debian 9 Stretch System

Top 10 open Source Bug Tracking System

How to lớn Store PHP Session in Memcached

How khổng lồ Install PmWiki on CentOS 6.x

How lớn Install BitCoin Wallet on Ubuntu 16.x

How khổng lồ Install ClassicMenu Indicator on Ubuntu 17.x

How to Install Zurmo CRM on CentOS 7

How lớn Install PhpBB on Ubuntu

How lớn Install Prestashop on OpenSUSE Leap 42.3

How lớn Install Bludit CMS on OpenSUSE Leap 42.3

How khổng lồ Install Shotcut on Ubuntu

How to lớn Install ScudCloud on Ubuntu

How to Install LiteCart on CentOS 7

How lớn Install Zimplit CMS on CentOS 7

How to lớn Install Gogs on CentOS 7

How to lớn Install AfterShot 2 on Ubuntu

How lớn Install Adobe Flash Player on Ubuntu

How khổng lồ Install InkScape on Ubuntu 17.04

How to lớn Install Xed Editor on Ubuntu 17.04

How khổng lồ Install Cotonti CMS on OpenSUSE Leap 42.3

How khổng lồ Install Sensu Monitoring Tool on CentOS 7

How lớn Install Ajenti on Ubuntu

How khổng lồ Configure & Install phpMyAdmin on CentOS/RHEL 7

How to:- Install TeamViewer on CentOS/Redhat 6/7/8 or Ubuntu/Debian

How lớn Install Skype 5.5 Beta on Ubuntu

How to Install phpVirtualBox On Linux

How to lớn Enable allow_url_fopen, allow_url_include in php.ini

Drupal Error : The specified file temporary://filem1o6yl could not be copied, because the destination directory is not properly configured

How to lớn Install JAVA 9 On CentOS and Fedora

What Is Difference Between Session & Cookies

What Is A Floppy Drive?

How lớn Install Mozilla Thunderbird 17 On CentOS/Fedora/RHEL System

How lớn Install Drush On CentOS

How khổng lồ Install Drush Via Composer

What is SPF Record in DNS?

How lớn Install Java On CentOS 7

Debug: “.htaccess error log” or enable & disable PHP Error Logging Using .htaccess File

How khổng lồ Enable Displaying PHP Errors On Site

How to lớn :- mix or Increase “max_execution_time” in Nginx or php-fpm/php

Increase tệp tin Upload kích cỡ Limit In PHP-Nginx

How to Set Or Change Username and thư điện tử In GIT?

How lớn :- Clear/Delete/Flush all Queued Mail in Sendmail

How to lớn Install PHP-GD On Ubuntu và Debian System

How lớn Prevent SQL Injection In PHP

How khổng lồ Find or check Top 10 CPU Consuming Process in Linux/Ubuntu

How To tìm kiếm Multiple Files Using GREP

How lớn Convert PEM tệp tin To PPK Private Key ?

How to Install Composer On CentOS/RHEL/Fedora System

Script lớn Convert Octal to Decimal

Why we can create only 4 Primary Partitions in HDD?

Difference between A & CNAME records in DNS (AWS)

How khổng lồ Upgrade OpenSSL On RHEL và CentOS Operating Systems

Linux Command Line Browser With link And Lynx

How lớn Install PHP Ioncube Loader In RHEL/Fedora/CentOS

Top 10 Most Dangerous Linux Commands – Think Before Execute

Robots IP Address Ranges – Googlebot, Yahoo Slurp, MSNBot, Bing etc.

Best 5 Linux xuất hiện Source Text Editors

Cron Script khổng lồ Monitor PHP Error (Fatal, Warning và Notice) on Email

Install Latest LibreOffice 5.3 Release on CentOS,RHEL,Fedora,Ubuntu và Debian Systems

How to lớn Extract/Open RAR file In Linux Or UNIX System

How to lớn Install PHP 7 On RHEL/CentOS/Fedora/Ubuntu & Debian System

Fix :- Bash:crontab: Command not found on Unix/Linux or Ubuntu/Debian

IoT – A Beginner’s Guide to lớn Know About mạng internet Of Things

Googler – Command Line Google tìm kiếm On Linux System

Easy Steps lớn Install Python 3 On CentOS

Manage Linux server With Ajenti (Web Based Control Panel)

PHP 5.4 Installation Steps On CentOS 6.x và Redhat 6.x System

Check cấp độ of traffic on website using command line with apache access log