Upgrade PHP on CentOS 5.1.x PHP 5.3 5.6

Advertisements

Most CMSSites, including Have the minimum requirement for installing to a newer version of 5.1.x pe . The tutorial below will show you some simple steps that can be upgrade the PHP version to PHP 5.1 5.3.x pe   5.6.

1. First you need to stop Web Server. (Httpd service)

service httpd stop

2. Remove 5.1.x PHP packages installed on the server.

yum remove php php-*

3. After you receive confirmation that PHP packages are deleted from the server, go to install packages PHP 5.3.

yum install php53.i386
yum install php53-bcmath.i386
yum install php53-cli.i386
yum install php53-common.i386
yum install php53-dba.i386
yum install php53-devel.i386
yum install php53-gd.i386
yum install php53-imap.i386
yum install php53-intl.i386
yum install php53-ldap.i386
yum install php53-mbstring.i386
yum install php53-mysql.i386
yum install php53-odbc.i386
yum install php53-pdo.i386
yum install php53-pgsql.i386
yum install php53-process.i386
yum install php53-pspell.i386
yum install php53-snmp.i386
yum install php53-soap.i386
yum install php53-xml.i386
yum install php53-xmlrpc.i386

Or even more simply, install all packages php53 *.

install php53 *

4. Start Apache Web Server

service httpd start

Packages php53-pear, php53-mcrypt, php53-Mhash, php53-ODP, php53-pecl-apc si php53-pecl-memcache 5.6 not available for CentOS.

Finally check PHP5.3 version was installed successfully. Create a. Php (eg info.php.) That have:

phpinfo ();

phpinfo (INFO_MODULES);

?>

Climb file servers and access to Firefox's address, , or any other web browser. The result should be:

php info

You can see which version of PHP is installed in the server and command line: php-v or "yum list installed | grep php"(Displays all PHP packages installed).

yum list installed php

- Upgrade / Install PHP on CentOS 5.3 5.6.

Advertisements

PROGRAMS, IT tutorials and news by e-mail

SAVE TO FAVORITES / bookmarks

Comment?

Posts related

Search on Google ::

installare 6 CentOS in VirtualBox su pc, Installing CentOS como en virtualbox desde dvd, cent bone Krok pierwsze, personnaliser CentOS machine installation Virtuel, Installing CentOS virtual maquina en windows 8, CentOS virtual box sans interface graphique, windows xp themes for CentOS, How to set up Oracle VM VirtualBox for Windows 7, deshabilitar arranque grafico CentOS VirtualBox, SETUP CentOS virtual box did not seem internet connection, centos virtualbox para windows con 7, avec serveur web linux centos virtualbox, sono su localhost CentOS Passaros alla graphics schermata, is useru and password from Oracle VM VirtualBox, jak zavést xp do virtualboxu,
ArabicBulgarianChinese (Simplified)Chinese (Traditional)CroatianCzechDanishDutchEnglishEstonianFinnishFrenchGermanGreekHebrewHungarianIndonesianItalianJapaneseKoreanLatvianLithuanianNorwegianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishTurkishUkrainian