<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Upgrade Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/upgrade/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 01 Feb 2019 08:01:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install PHP 7.3 on Ubuntu 18.04 / Linux Mint 19?</title>
		<link>https://www.osradar.com/install-php-7-3-ubuntu-18-04-linux-mint-19/</link>
					<comments>https://www.osradar.com/install-php-7-3-ubuntu-18-04-linux-mint-19/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 01 Feb 2019 03:44:38 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[New version]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tessa]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10447</guid>

					<description><![CDATA[<p>PHP is perhaps one of the most popular programming languages in the world. Most websites and internet applications are built using this programming language. Here we have told you a lot about this language, especially when we have to do some web technology. Recently, a new major version of the language was released and comes [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-7-3-ubuntu-18-04-linux-mint-19/">How to install PHP 7.3 on Ubuntu 18.04 / Linux Mint 19?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>PHP is perhaps one of the most popular programming languages in the world. Most websites and internet applications are built using this programming language. <a href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/">Here</a> we have told you a lot about this language, especially when we have to do some web technology. Recently, a new major version of the language was released and comes with many new features and novelties. So, that is why today I will show you how to install PHP 7.3 on Ubuntu 18.04 and Linux Mint 19.</p>
<p>PHP 7.3 comes with a number of new <a href="http://php.net/manual/en/migration73.new-features.php">features</a> that make you think about upgrading. Some of them refer to a more flexible heredoc and nowdoc syntax. And several performance improvements in the compiler. Keep in mind that if you are very happy with your current version of PHP, you may not want to update, but on the contrary, if you have a malfunction or want to plug a security hole, I recommend you update.</p>
<p>So, let us install PHP 7.3.</p>
<h2>1. Upgrade the system</h2>
<p>The first step, update the entire system. I always recommend you to do it for security reasons.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<figure id="attachment_10448" aria-describedby="caption-attachment-10448" style="width: 1307px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10448" src="https://www.osradar.com/wp-content/uploads/2019/01/1-25.png" alt="1.- Upgrade the system" width="1307" height="574" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-25.png 1307w, https://www.osradar.com/wp-content/uploads/2019/01/1-25-300x132.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-25-768x337.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-25-1024x450.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/1-25-696x306.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/1-25-1068x469.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/1-25-956x420.png 956w" sizes="(max-width: 1307px) 100vw, 1307px" /><figcaption id="caption-attachment-10448" class="wp-caption-text">1.- Upgrade the system</figcaption></figure>
<p>After that, the system is ready to start installing PHP 7.3.</p>
<h2>2. Check your current PHP version and the external repository</h2>
<p>For the change to be noticeable, first check the version of PHP you have installed. You can do this with the following command:</p>
<pre class="">:~$ php -v</pre>
<figure id="attachment_10449" aria-describedby="caption-attachment-10449" style="width: 811px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10449" src="https://www.osradar.com/wp-content/uploads/2019/01/2-24.png" alt="2.- I have not php installed" width="811" height="224" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-24.png 811w, https://www.osradar.com/wp-content/uploads/2019/01/2-24-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-24-768x212.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-24-696x192.png 696w" sizes="(max-width: 811px) 100vw, 811px" /><figcaption id="caption-attachment-10449" class="wp-caption-text">2.- I have not PHP installed</figcaption></figure>
<p>As you can see, I do not have it installed. If as I do not have it installed, you can look for it in the official repositories and see which version you have available for now.</p>
<pre class="">:~$ sudo apt search php</pre>
<figure id="attachment_10450" aria-describedby="caption-attachment-10450" style="width: 710px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10450" src="https://www.osradar.com/wp-content/uploads/2019/01/3-24.png" alt="3.- PHP in the official repository" width="710" height="677" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-24.png 710w, https://www.osradar.com/wp-content/uploads/2019/01/3-24-300x286.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-24-696x664.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/3-24-440x420.png 440w" sizes="(max-width: 710px) 100vw, 710px" /><figcaption id="caption-attachment-10450" class="wp-caption-text">3.- PHP in the official repository</figcaption></figure>
<p>So, you have to add an external PPA to install PHP 7.3. However, first, you have to install these required packages.</p>
<pre class="">:~$ sudo apt install software-properties-common</pre>
<figure id="attachment_10451" aria-describedby="caption-attachment-10451" style="width: 1253px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10451" src="https://www.osradar.com/wp-content/uploads/2019/01/4-26.png" alt="4.- Installing some requires packages" width="1253" height="251" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-26.png 1253w, https://www.osradar.com/wp-content/uploads/2019/01/4-26-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-26-768x154.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-26-1024x205.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/4-26-696x139.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/4-26-1068x214.png 1068w" sizes="(max-width: 1253px) 100vw, 1253px" /><figcaption id="caption-attachment-10451" class="wp-caption-text">4.- Installing some requires packages</figcaption></figure>
<p>Then, add the PPA.</p>
<pre class="">:~$ sudo add-apt-repository ppa:ondrej/php</pre>
<figure id="attachment_10452" aria-describedby="caption-attachment-10452" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10452" src="https://www.osradar.com/wp-content/uploads/2019/01/5-26.png" alt="5.- Adding the external ppa" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-26.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/5-26-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-26-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-26-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/5-26-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/5-26-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/5-26-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10452" class="wp-caption-text">5.- Adding the external PPA</figcaption></figure>
<p>And next, refresh the APT cache.</p>
<pre class="">:~$ sudo apt update</pre>
<figure id="attachment_10453" aria-describedby="caption-attachment-10453" style="width: 867px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10453" src="https://www.osradar.com/wp-content/uploads/2019/01/6-21.png" alt="6.- Update the cache" width="867" height="281" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-21.png 867w, https://www.osradar.com/wp-content/uploads/2019/01/6-21-300x97.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-21-768x249.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-21-696x226.png 696w" sizes="(max-width: 867px) 100vw, 867px" /><figcaption id="caption-attachment-10453" class="wp-caption-text">6.- Update the cache</figcaption></figure>
<p>Now, you can install it without any problems.</p>
<h2>3. Install PHP 7.3 on Ubuntu 18.04 and Linux Mint</h2>
<p>Now yes, first use APT to search for PHP packages and verify that the available version is 7.3.</p>
<pre class="">:~$ sudo apt search php</pre>
<figure id="attachment_10454" aria-describedby="caption-attachment-10454" style="width: 756px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10454" src="https://www.osradar.com/wp-content/uploads/2019/01/7-21.png" alt="7.- PHP 7.3 is available" width="756" height="673" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-21.png 756w, https://www.osradar.com/wp-content/uploads/2019/01/7-21-300x267.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/7-21-696x620.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/7-21-472x420.png 472w" sizes="(max-width: 756px) 100vw, 756px" /><figcaption id="caption-attachment-10454" class="wp-caption-text">7.- PHP 7.3 is available</figcaption></figure>
<p>Now, install PHP 7.3 and some of the most commonly used extensions:</p>
<pre class="">:~$ sudo apt install php7.3 php7.3-cli php7.3-common php7.3-opcache php7.3-curl php7.3-mbstring php7.3-mysql php7.3-zip php7.3-xml</pre>
<figure id="attachment_10455" aria-describedby="caption-attachment-10455" style="width: 1293px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10455" src="https://www.osradar.com/wp-content/uploads/2019/01/8-18.png" alt="8.- Install PHP 7.3" width="1293" height="454" srcset="https://www.osradar.com/wp-content/uploads/2019/01/8-18.png 1293w, https://www.osradar.com/wp-content/uploads/2019/01/8-18-300x105.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/8-18-768x270.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/8-18-1024x360.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/8-18-696x244.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/8-18-1068x375.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/8-18-1196x420.png 1196w" sizes="(max-width: 1293px) 100vw, 1293px" /><figcaption id="caption-attachment-10455" class="wp-caption-text">8.- Install PHP 7.3</figcaption></figure>
<p>Next, check the version installed:</p>
<pre class="">:~$ php -v</pre>
<figure id="attachment_10456" aria-describedby="caption-attachment-10456" style="width: 974px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10456" src="https://www.osradar.com/wp-content/uploads/2019/01/9-13.png" alt="9.- PHP new version" width="974" height="199" srcset="https://www.osradar.com/wp-content/uploads/2019/01/9-13.png 974w, https://www.osradar.com/wp-content/uploads/2019/01/9-13-300x61.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/9-13-768x157.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/9-13-696x142.png 696w" sizes="(max-width: 974px) 100vw, 974px" /><figcaption id="caption-attachment-10456" class="wp-caption-text">9.- PHP new version</figcaption></figure>
<p>So, that is it.</p>
<h2>Conclusion</h2>
<p>It is important to update a critical element of a web server such as PHP. This is because development is very active and more and more applications require newer versions of the compiler.</p>
<p>Please share with your friends.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-7-3-ubuntu-18-04-linux-mint-19/">How to install PHP 7.3 on Ubuntu 18.04 / Linux Mint 19?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-php-7-3-ubuntu-18-04-linux-mint-19/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>How to install the latest version of MariaDB on Debian 9?</title>
		<link>https://www.osradar.com/how-to-install-the-lastest-version-of-mariadb-on-debian-9/</link>
					<comments>https://www.osradar.com/how-to-install-the-lastest-version-of-mariadb-on-debian-9/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 12 Nov 2018 02:34:04 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Last version]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7139</guid>

					<description><![CDATA[<p>Debian is a great operating system and may be the most stable within Linux, but it has the disadvantage of not having updated packages. Because of this we gain a lot of stability but lose some novelty. In this article, you will learn how to install the latest version of MariaDB on Debian 9. MariaDB: [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-the-lastest-version-of-mariadb-on-debian-9/">How to install the latest version of MariaDB on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Debian is a great operating system and may be the most stable within Linux, but it has the disadvantage of not having updated packages. Because of this we gain a lot of stability but lose some novelty. In this article, you will learn how to install the latest version of MariaDB on Debian 9.</p>
<h3>MariaDB: The son surpasses the father</h3>
<p><a href="https://abcnews.go.com/Technology/story?id=7395780&amp;page=1" rel="noopener">After Oracle buys Sun microsystem</a>, there was a huge concern about MySQL&#8217;s future. That&#8217;s why MariaDB emerges as a 100% compatible fork maintained by the community and the initial creators of MySQL.</p>
<p>The consequences have been positive, as MariaDB being 100% compatible with MySQL ensures that the Community spirit of MySQL is maintained. In addition, large Linux distributions such as Debian, Ubuntu Server or CentOS include it by default in their official repositories, which makes it available easily and simply.</p>
<figure id="attachment_7149" aria-describedby="caption-attachment-7149" style="width: 1295px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7149" src="https://www.osradar.com/wp-content/uploads/2018/11/66.png" alt="MariaDB website" width="1295" height="385" srcset="https://www.osradar.com/wp-content/uploads/2018/11/66.png 1295w, https://www.osradar.com/wp-content/uploads/2018/11/66-300x89.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/66-768x228.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/66-1024x304.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/66-696x207.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/66-1068x318.png 1068w" sizes="(max-width: 1295px) 100vw, 1295px" /><figcaption id="caption-attachment-7149" class="wp-caption-text">MariaDB website</figcaption></figure>
<h2>Debian is stable but it has a cost</h2>
<p>As I mentioned earlier, Debian is very stable but its packages are not the <strong>latest versions</strong>. The great advantage of this is that it makes Debian a very stable distribution but the user misses out on some of the new features corresponding to the packages.</p>
<p>For example, <a href="https://packages.debian.org/search?keywords=mariadb-server&amp;searchon=names&amp;suite=stable&amp;section=all" rel="noopener">Debian 9 includes MariaDB 10.1</a> but the last version is <a href="https://mariadb.org/mariadb-10-3-10-now-available/" rel="noopener">10.3.10</a>.</p>
<figure id="attachment_7141" aria-describedby="caption-attachment-7141" style="width: 1292px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7141" src="https://www.osradar.com/wp-content/uploads/2018/11/1-9.png" alt="1.- Debain 9 comes with MariaDB 10.1" width="1292" height="430" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1-9.png 1292w, https://www.osradar.com/wp-content/uploads/2018/11/1-9-300x100.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-9-768x256.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-9-1024x341.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-9-696x232.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-9-1068x355.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/1-9-1262x420.png 1262w" sizes="(max-width: 1292px) 100vw, 1292px" /><figcaption id="caption-attachment-7141" class="wp-caption-text">1.- Debian 9 comes with MariaDB 10.1</figcaption></figure>
<p>Before we continue let me warn you that, if you have a server in production and you don&#8217;t really need the update, you better not do it. While it&#8217;s true that the steps I&#8217;m going to take are safe, something can always happen. So, be sure.</p>
<h2>Install the latest version of MariaDB</h2>
<p>MariaDB 10.3.10 is a minor version of the 10.3 series. Some of its main novelties are: <strong>bug fixes on InnoDB</strong>, <strong>corruption of InnoDB temporary tables is corrected</strong> and <strong>improvements in program performance</strong>. As well as to polish the sentences and to add better syntax to the same ones.</p>
<p>There is no easier way to install the latest stable version of MariaDB than by using the MariaDB repository. In addition to ease, it is quite safe to do it this way and thus you are always guaranteed to be prone to an update of the program.</p>
<p>First, upgrade the system.</p>
<pre class="">:~$ su
:~# apt update &amp;&amp; apt upgrade</pre>
<figure id="attachment_7142" aria-describedby="caption-attachment-7142" style="width: 886px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7142" src="https://www.osradar.com/wp-content/uploads/2018/11/2-8.png" alt="2.- Upgrading the system" width="886" height="485" srcset="https://www.osradar.com/wp-content/uploads/2018/11/2-8.png 886w, https://www.osradar.com/wp-content/uploads/2018/11/2-8-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/2-8-768x420.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/2-8-696x381.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/2-8-767x420.png 767w" sizes="(max-width: 886px) 100vw, 886px" /><figcaption id="caption-attachment-7142" class="wp-caption-text">2.- Upgrading the system</figcaption></figure>
<p>Doing this ensures that you have the latest security patches installed and have a more stable and reliable system.</p>
<p>Then, install some required packages</p>
<pre class="">:~# install software-properties-common dirmngr</pre>
<figure id="attachment_7143" aria-describedby="caption-attachment-7143" style="width: 886px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7143" src="https://www.osradar.com/wp-content/uploads/2018/11/3-7.png" alt="3.- Installing some required packages" width="886" height="485" srcset="https://www.osradar.com/wp-content/uploads/2018/11/3-7.png 886w, https://www.osradar.com/wp-content/uploads/2018/11/3-7-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/3-7-768x420.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/3-7-696x381.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/3-7-767x420.png 767w" sizes="(max-width: 886px) 100vw, 886px" /><figcaption id="caption-attachment-7143" class="wp-caption-text">3.- Installing some required packages</figcaption></figure>
<p>Next, you have to add the GPG key for the MariaDB repository.</p>
<pre class="">:~# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8</pre>
<p>Now, add the repository.</p>
<figure id="attachment_7144" aria-describedby="caption-attachment-7144" style="width: 939px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7144" src="https://www.osradar.com/wp-content/uploads/2018/11/4-8.png" alt="4.- Adding the MariaDB repository" width="939" height="485" srcset="https://www.osradar.com/wp-content/uploads/2018/11/4-8.png 939w, https://www.osradar.com/wp-content/uploads/2018/11/4-8-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/4-8-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/4-8-696x359.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/4-8-813x420.png 813w" sizes="(max-width: 939px) 100vw, 939px" /><figcaption id="caption-attachment-7144" class="wp-caption-text">4.- Adding the MariaDB repository</figcaption></figure>
<p>Refresh the APT cache.</p>
<figure id="attachment_7145" aria-describedby="caption-attachment-7145" style="width: 939px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7145" src="https://www.osradar.com/wp-content/uploads/2018/11/5-8.png" alt="5.- Running apt update command" width="939" height="485" srcset="https://www.osradar.com/wp-content/uploads/2018/11/5-8.png 939w, https://www.osradar.com/wp-content/uploads/2018/11/5-8-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/5-8-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/5-8-696x359.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/5-8-813x420.png 813w" sizes="(max-width: 939px) 100vw, 939px" /><figcaption id="caption-attachment-7145" class="wp-caption-text">5.- Running apt update command</figcaption></figure>
<p>Then, install MariaDB packages.</p>
<pre class="">:~# apt install mariadb-server</pre>
<figure id="attachment_7146" aria-describedby="caption-attachment-7146" style="width: 939px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7146" src="https://www.osradar.com/wp-content/uploads/2018/11/6-8.png" alt="6.- Install the lastest version of MariaDB" width="939" height="485" srcset="https://www.osradar.com/wp-content/uploads/2018/11/6-8.png 939w, https://www.osradar.com/wp-content/uploads/2018/11/6-8-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/6-8-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/6-8-696x359.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/6-8-813x420.png 813w" sizes="(max-width: 939px) 100vw, 939px" /><figcaption id="caption-attachment-7146" class="wp-caption-text">6.- Install the latest version of MariaDB</figcaption></figure>
<p>During installation, you will be asked if you want to define a root password. I chose yes, but you can do it later.</p>
<figure id="attachment_7147" aria-describedby="caption-attachment-7147" style="width: 939px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7147" src="https://www.osradar.com/wp-content/uploads/2018/11/7-7.png" alt="7.- Setting a root password for MariaDB" width="939" height="485" srcset="https://www.osradar.com/wp-content/uploads/2018/11/7-7.png 939w, https://www.osradar.com/wp-content/uploads/2018/11/7-7-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/7-7-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/7-7-696x359.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/7-7-813x420.png 813w" sizes="(max-width: 939px) 100vw, 939px" /><figcaption id="caption-attachment-7147" class="wp-caption-text">7.- Setting a root password for MariaDB</figcaption></figure>
<p>Once the installation is finished, you can access the MariaDB console. There you can run the commands and verify the installed version.</p>
<pre class="">:~# mysql -u root -p</pre>
<figure id="attachment_7148" aria-describedby="caption-attachment-7148" style="width: 939px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7148" src="https://www.osradar.com/wp-content/uploads/2018/11/8-6.png" alt="8.- Accessing to MariaDB console" width="939" height="485" srcset="https://www.osradar.com/wp-content/uploads/2018/11/8-6.png 939w, https://www.osradar.com/wp-content/uploads/2018/11/8-6-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/8-6-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/8-6-696x359.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/8-6-813x420.png 813w" sizes="(max-width: 939px) 100vw, 939px" /><figcaption id="caption-attachment-7148" class="wp-caption-text">8.- Accessing to MariaDB console</figcaption></figure>
<p>As you can see, the version installed is 10.3.10. In short, it is the last version available of MariaDB.</p>
<h2>Conclusion</h2>
<p>As you can see, the installation of the latest stable version of MariaDB is really simple and does not require many complications. However, it is important, to have at your disposal the new features</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-the-lastest-version-of-mariadb-on-debian-9/">How to install the latest version of MariaDB on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-the-lastest-version-of-mariadb-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Fedora 29 available: How to upgrade from Fedora 28</title>
		<link>https://www.osradar.com/fedora-29-available-maybe-linux-distribution-of-the-year/</link>
					<comments>https://www.osradar.com/fedora-29-available-maybe-linux-distribution-of-the-year/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 01 Nov 2018 10:34:38 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Distribution]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Fedora 29]]></category>
		<category><![CDATA[New version]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6875</guid>

					<description><![CDATA[<p>You probably didn&#8217;t know it but Fedora 29 is available for download and use. And it&#8217;s really great, maybe, along with Ubuntu 18.04 is the 2018 Linux distribution. Let&#8217;s see why this distribution is so special. Fedora has the Red Hat power Fedora is a Linux distribution that uses RPM packages. It is sponsored by [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/fedora-29-available-maybe-linux-distribution-of-the-year/">Fedora 29 available: How to upgrade from Fedora 28</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>You probably didn&#8217;t know it but Fedora 29 is available for download and use. And it&#8217;s really great, maybe, along with Ubuntu 18.04 is the 2018 Linux distribution.</p>
<figure id="attachment_6877" aria-describedby="caption-attachment-6877" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6877" src="https://www.osradar.com/wp-content/uploads/2018/11/1.png" alt="1.- Fedora" width="1354" height="371" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1.png 1354w, https://www.osradar.com/wp-content/uploads/2018/11/1-300x82.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-768x210.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-1024x281.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-696x191.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-1068x293.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-6877" class="wp-caption-text">1.- Fedora</figcaption></figure>
<p>Let&#8217;s see why this distribution is so special.</p>
<h2>Fedora has the Red Hat power</h2>
<p><a href="https://getfedora.org/en/" rel="noopener">Fedora</a> is a Linux distribution that uses RPM packages. It is sponsored by Red Hat and provides an updated, innovative and stable system. As expected it is available for free and although its default desktop environment is <a href="https://www.gnome.org/" rel="noopener">GNOME</a>, it is also possible to download different Spin with other desktop environments such as KDE, XFCE or Mate.</p>
<p>One issue to which Fedora pays a lot of attention is that of containers, servers, and virtualization. Something that is very much happening these days. Proof of this is that it has three main versions. In the first place is the <em>Workstation</em> version, focused on home computers and everyday work. It is the most used and popular version. Then, it is <em>Server</em> oriented to servers using the best and latest tools of DataCenter. Finally, <em>Atomic</em> is specialized in Docker and Kubernetes technologies.</p>
<p>If a distribution is sponsored by an open source giant like <a href="https://www.redhat.com/en" rel="noopener">Red Hat</a>, it&#8217;s because it&#8217;s good and its latest version even better.</p>
<h2>Fedora 29 Available</h2>
<p><a href="https://www.osradar.com/fedora-29-released/">A new version was released recently</a>, and in Matthew Miller&#8217;s words is the best yet. This is partly due to the updated package and the fact that this version is the first to be <em>modular</em>.</p>
<p><a href="https://docs.fedoraproject.org/en-US/modularity/" rel="noopener">Fedora Modularity </a>is a technology that has been tested for some time by Fedora that allows you to install several versions of the same package without modifying the basic libraries of the system. As you can notice, it is an innovation within Linux. And this is perhaps the most important novelty of this version.</p>
<p>Another thing to keep in mind is that this new version comes with <a href="https://lkml.org/lkml/2018/8/12/103" rel="noopener">Linux Kernel 4.18</a> and <a href="https://www.gnome.org/news/2018/09/gnome-3-30-released/" rel="noopener">GNOME 3.30</a> as the desktop environment, thus ensuring compatibility with most recent hardware.</p>
<figure id="attachment_6879" aria-describedby="caption-attachment-6879" style="width: 816px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6879" src="https://www.osradar.com/wp-content/uploads/2018/11/2.jpg" alt="2.- GNOME is the default DE of Fedora" width="816" height="345" srcset="https://www.osradar.com/wp-content/uploads/2018/11/2.jpg 816w, https://www.osradar.com/wp-content/uploads/2018/11/2-300x127.jpg 300w, https://www.osradar.com/wp-content/uploads/2018/11/2-768x325.jpg 768w, https://www.osradar.com/wp-content/uploads/2018/11/2-696x294.jpg 696w" sizes="(max-width: 816px) 100vw, 816px" /><figcaption id="caption-attachment-6879" class="wp-caption-text">2.- GNOME is the default DE of Fedora</figcaption></figure>
<h2>How to Upgrade from Fedora 28</h2>
<p>It is possible to <a href="https://fedoramagazine.org/upgrading-fedora-28-fedora-29/">upgrade</a> from Fedora 28 if you prefer. First, you must update all system packages. Open a terminal and run:</p>
<pre class="">:~$ sudo dnf upgrade --refresh</pre>
<p>It is then necessary to install the DNF plugin to update the system version. To do this, type.</p>
<pre class="">:~$ sudo dnf install dnf-plugin-system-upgrade</pre>
<p>Once you have finished, you can start the system update.</p>
<pre class="">:~$ sudo dnf system-upgrade download --releasever=29</pre>
<p>The above command will download all the new packages needed for the upgrade. In case you have problems with the update, you can add the <em>&#8211;allowerasing</em> option to enable the system to make the changes for the update.</p>
<p>Finally, reboot and complete the upgrade:</p>
<pre class="">:~$ sudo dnf system-upgrade reboot</pre>
<figure id="attachment_6888" aria-describedby="caption-attachment-6888" style="width: 1024px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6888" src="https://www.osradar.com/wp-content/uploads/2018/11/fedora-1.png" alt="fedora" width="1024" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/fedora-1.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/fedora-1-300x225.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/fedora-1-768x576.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/fedora-1-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2018/11/fedora-1-265x198.png 265w, https://www.osradar.com/wp-content/uploads/2018/11/fedora-1-696x522.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/fedora-1-560x420.png 560w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption id="caption-attachment-6888" class="wp-caption-text">Updating Fedora</figcaption></figure>
<p>The update will take a while. When you reboot the system. You will have Fedora 29</p>
<h2>Conclusion</h2>
<p>Fedora is a great Linux distribution and this new version is even more innovative and promises to be the best that has been taken so far.</p>
<p>Do you want to download it? you are already using it? let us know what you think.</p>
<p>Please make your comment and participate.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/fedora-29-available-maybe-linux-distribution-of-the-year/">Fedora 29 available: How to upgrade from Fedora 28</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/fedora-29-available-maybe-linux-distribution-of-the-year/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PHP 7.2 on Debian 9 Stretch?</title>
		<link>https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/</link>
					<comments>https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 09 Oct 2018 01:00:40 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 7.2]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[web development]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6257</guid>

					<description><![CDATA[<p>Recently I explained how to install PHP 7 in CentOS 7. Today, I will show how to install PHP 7.2 on Debian 9. Linux server-oriented operating systems use not-so-current versions of the basic packages because they are the most tested. This situation has as main advantage that the packages that are in the official repositories [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/">How to install PHP 7.2 on Debian 9 Stretch?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently I <a href="https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/">explained</a> how to install PHP 7 in CentOS 7. Today, I will show how to install PHP 7.2 on Debian 9.</p>
<p>Linux server-oriented operating systems use not-so-current versions of the basic packages because they are the most tested. This situation has as main advantage that the packages that are in the official repositories are very stable; however, not having the latest versions of the packages means that new features are not always available.</p>
<figure id="attachment_6287" aria-describedby="caption-attachment-6287" style="width: 1120px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6287" src="https://www.osradar.com/wp-content/uploads/2018/10/11-2.png" alt="Linux Security" width="1120" height="450" srcset="https://www.osradar.com/wp-content/uploads/2018/10/11-2.png 1120w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-300x121.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-768x309.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-1024x411.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-696x280.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-1068x429.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-1045x420.png 1045w" sizes="(max-width: 1120px) 100vw, 1120px" /><figcaption id="caption-attachment-6287" class="wp-caption-text">Linux Security</figcaption></figure>
<p>With this in mind, it&#8217;s easy to assume that some essential applications can&#8217;t be used without updating some key packages like PHP. For example, the latest stable version of <a href="https://laravel.com/docs/5.7#installing-laravel">Laravel</a> requires PHP 7.1.3 <strong>but Debian 9 brings in its repositories version 7.0.</strong></p>
<p>In others words, there are times when it is necessary to update some essential packages. Today it&#8217;s PHP&#8217;s turn on Debian 9.</p>
<h2>Why you need</h2>
<p>The process is quite simple, however, you must execute commands as a superuser. To do this, you can use a user with sudo enabled or directly be root.</p>
<p>You also need to be somewhat familiar with the use of the terminal, as we will do everything through the command line interface.</p>
<p>With this in mind, you can get started to install PHP 7.2.</p>
<h2>Let&#8217;s get to work</h2>
<p>Now that you have decided to update <a href="http://php.net/">PHP</a>, the first thing is to update the system. With that, you will get the versions of the packages but only those related to security. Anyway, it&#8217;s a good idea to do it. Run:</p>
<pre class="">:~$ su</pre>
<p>Then, enter your password to become root. Now, run:</p>
<pre class="">:~# apt update &amp;&amp; apt upgrade</pre>
<figure id="attachment_6276" aria-describedby="caption-attachment-6276" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6276" src="https://www.osradar.com/wp-content/uploads/2018/10/1-5.png" alt="1.- Upgrading the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6276" class="wp-caption-text">1.- Upgrading the system</figcaption></figure>
<p>That&#8217;s enough.</p>
<p>So, you can check this by executing the following command:</p>
<pre class="">:~# apt-cache show php</pre>
<figure id="attachment_6277" aria-describedby="caption-attachment-6277" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6277" src="https://www.osradar.com/wp-content/uploads/2018/10/2-5.png" alt="2.- Showing the version of the PHP package that comes in the official repositories." width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6277" class="wp-caption-text">2.- Showing the version of the PHP package that comes in the official repositories.</figcaption></figure>
<p>As you can see, Debian 9 comes with PHP 7.0 by default.</p>
<p>The next step is to install some necessary packages such as: <code>apt-transport-https</code> <code>lsb-release</code> and <code>ca-certificates</code>.</p>
<pre class="">:~# apt install apt-transport-https lsb-release ca-certificates</pre>
<figure id="attachment_6278" aria-describedby="caption-attachment-6278" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6278" src="https://www.osradar.com/wp-content/uploads/2018/10/3-5.png" alt="3.- Installing some required packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/3-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6278" class="wp-caption-text">3.- Installing some required packages</figcaption></figure>
<p>To install PHP 7.2 you need an external repository. Run:</p>
<pre class="">:~# wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg</pre>
<figure id="attachment_6281" aria-describedby="caption-attachment-6281" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-6281 size-full" src="https://www.osradar.com/wp-content/uploads/2018/10/4-1-1.png" alt="4.- Downloading GPG key" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/4-1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6281" class="wp-caption-text">4.- Downloading GPG key</figcaption></figure>
<p>Next:</p>
<pre class="">:~# sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" &gt; /etc/apt/sources.list.d/php.list'</pre>
<figure id="attachment_6282" aria-describedby="caption-attachment-6282" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-6282 size-full" src="https://www.osradar.com/wp-content/uploads/2018/10/5-1-1.png" alt="5.- Adding the external repository to install PHP 7.2" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/5-1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6282" class="wp-caption-text">5.- Adding the external repository to install PHP 7.2</figcaption></figure>
<p>Then, proceed to update the repository cache.</p>
<pre class="">:~# apt update</pre>
<figure id="attachment_6283" aria-describedby="caption-attachment-6283" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6283" src="https://www.osradar.com/wp-content/uploads/2018/10/6-1-1.png" alt="6.- apt update command" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/6-1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6283" class="wp-caption-text">6.- apt update command</figcaption></figure>
<p>Now, search the repository database for the PHP package and you&#8217;ll see that version 7.2 is available.</p>
<figure id="attachment_6284" aria-describedby="caption-attachment-6284" style="width: 1357px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6284" src="https://www.osradar.com/wp-content/uploads/2018/10/7-3.png" alt="7.- Showing the new version of PHP on repository" width="1357" height="386" srcset="https://www.osradar.com/wp-content/uploads/2018/10/7-3.png 1357w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-300x85.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-768x218.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-1024x291.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-696x198.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-1068x304.png 1068w" sizes="(max-width: 1357px) 100vw, 1357px" /><figcaption id="caption-attachment-6284" class="wp-caption-text">7.- Showing the new version of PHP on the repository</figcaption></figure>
<p>And proceed to install the PHP 7.2 packages you want. I&#8217;ll install these for now.</p>
<pre class="">:~# apt install php7.2 php7.2-common php7.2-cli php7.2-mysql php7.2-xml php7.2-curl</pre>
<figure id="attachment_6285" aria-describedby="caption-attachment-6285" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6285" src="https://www.osradar.com/wp-content/uploads/2018/10/8-3.png" alt="8.- Installing PHP7.2 packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/8-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6285" class="wp-caption-text">8.- Installing PHP7.2 packages</figcaption></figure>
<p>Finally, you can check the installed version. To do this, run.</p>
<pre class="">:~# php -v</pre>
<figure id="attachment_6286" aria-describedby="caption-attachment-6286" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6286" src="https://www.osradar.com/wp-content/uploads/2018/10/9-3.png" alt="9.- Showing the PHP version installed." width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/9-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6286" class="wp-caption-text">9.- Showing the PHP version installed.</figcaption></figure>
<h2>Conclusion</h2>
<p>In the final analysis, it can be said that having old and tested packages has its advantages but from time to time it is convenient to update them. Especially if other applications make use of them like Laravel with PHP.</p>
<p>Installing PHP 7.2 in Debian 9 is simple and it is recommended to do it to have important security updates especially if the server works a lot with web applications.</p>
<p>We want to know about you, have you used PHP? is your favorite language? did you find the article interesting? let us know in the comments.</p>
<p>Please share this article.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/">How to install PHP 7.2 on Debian 9 Stretch?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
