This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How to Update Appache from 2.2.15 to 2.4 and PHP 5.4 to 5.6 or 5.5
#1
How to Update Appache from 2.2.15 to 2.4 and PHP 5.4 to 5.6 or 5.5
Hello Guys , 

How to Update Appache from 2.2.15 to 2.4 and PHP 5.4 to 5.6 or 5.5 in order to work mpdf 

Minimum Requirement is PHP5.5 

Tried 
Quote:yum update or yum upgrade
 
Thanks in Advance Smile
Reply
Thanks given by:
#2
RE: How to Update Appache from 2.2.15 to 2.4 and PHP 5.4 to 5.6 or 5.5
okay i got the solution here the step to do so

First to Install Remi Repo
Quote:# yum update && yum install epel-release
# rpm -Uvh http://rpms.famillecollet.com/enterprise...ease-7.rpm

Now you make sure that remi repository is enabled and all set to install chosen PHP version, to do this open 
Quote:nano /etc/yum.repos.d/remi.repo


make sure the line set to enabled=1 as instructed below, in order to install PHP 5.5 or 5.6

Quote:[remi]
name=Remi's RPM repository for Enterprise Linux 6 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/6/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi



Now if you want to install PHP 5.5 or PHP 5.6, just set the line enabled=1 in sections [remi-php55] and [remi-php56] to install as instructed below.


Quote:[remi-php55]
name=Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/6/php55/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/6/php55/mirror
# NOTICE: common dependencies are in "remi-safe"
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-php56]
name=Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/6/php56/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/6/php56/mirror
# NOTICE: common dependencies are in "remi-safe"
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

Now 

Quote:------ On RHEL/CentOS 7/6 and Fedora 18-21 ------
# yum --enablerepo=remi install php-mysqlnd php-pgsql php-pecl-mongo php-pdo php-pecl-memcache php-pecl-memcached php-gd php-xml php-mbstring php-mcrypt php-pecl-apcu php-cli php-pear
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 6 ,809 02-14-2024, 09:20 AM
Last Post: TGates
Update extplorer and panels client poseidon97 0 4 ,121 02-06-2020, 11:40 PM
Last Post: poseidon97
how to update quota in roundcube? oliviagreene 1 4 ,771 09-18-2019, 11:23 PM
Last Post: Ron-e

Forum Jump:


Users browsing this thread: 3 Guest(s)