<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Upgrade_PHP_to_PHP_7</id>
	<title>Upgrade PHP to PHP 7 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Upgrade_PHP_to_PHP_7"/>
	<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Upgrade_PHP_to_PHP_7&amp;action=history"/>
	<updated>2026-05-08T01:21:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://techwiki.co.uk/index.php?title=Upgrade_PHP_to_PHP_7&amp;diff=112&amp;oldid=prev</id>
		<title>Adam.birds: Created page with &quot;To upgrade PHP to PHP 7.0 on CentOS 7 use the following commands:  First of all you need to add the correct repositories:  &lt;pre&gt; wget https://dl.fedoraproject.org/pub/epel/epe...&quot;</title>
		<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Upgrade_PHP_to_PHP_7&amp;diff=112&amp;oldid=prev"/>
		<updated>2016-04-28T11:22:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;To upgrade PHP to PHP 7.0 on CentOS 7 use the following commands:  First of all you need to add the correct repositories:  &amp;lt;pre&amp;gt; wget https://dl.fedoraproject.org/pub/epel/epe...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To upgrade PHP to PHP 7.0 on CentOS 7 use the following commands:&lt;br /&gt;
&lt;br /&gt;
First of all you need to add the correct repositories:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm&lt;br /&gt;
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm&lt;br /&gt;
rpm -Uvh epel-release-latest-7.noarch.rpm&lt;br /&gt;
rpm -Uvh remi-release-7.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To see which PHP Modules you currently have installed use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
php -m&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the following commands to remove the old PHP installations and re-add them:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum remove php*&lt;br /&gt;
&lt;br /&gt;
yum install php --enablerepo=remi-php70&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To install the PHP Modules that where listed using the '''php -m''' command you can use the '''yum install php --enablerepo=remi-php70''' command but insert the modules you would like to install as so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install php php-cli php-common php-devel php-fpm php-gd php-ldap php-mbstring php-mcrypt php-mysql php-odbc php-pdo php-pear sql php-process php-soap php-xml php-zip php-intl php-curl php-openssl php-xsl --enablerepo=remi-php70&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:PHP]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Contents]]&lt;/div&gt;</summary>
		<author><name>Adam.birds</name></author>
		
	</entry>
</feed>