<?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 PHP Version in xampp &#8211; Learn PHP online</title>
	<atom:link href="https://www.learnphponline.in/tag/upgrade-php-version-in-xampp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.learnphponline.in</link>
	<description>The Best Free Tutorials of Programming Languages in 2019</description>
	<lastBuildDate>Tue, 02 Mar 2021 13:43:12 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.3</generator>
	<item>
		<title>How to Upgrade PHP Version 7 to 8 in Xampp (PHP 8 Latest Version)</title>
		<link>https://www.learnphponline.in/how-to-upgrade-php-version-7-to-8-in-xampp-php-8-latest-version/</link>
					<comments>https://www.learnphponline.in/how-to-upgrade-php-version-7-to-8-in-xampp-php-8-latest-version/#respond</comments>
		
		<dc:creator><![CDATA[Learn PHP online]]></dc:creator>
		<pubDate>Tue, 02 Mar 2021 13:28:35 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[xampp]]></category>
		<category><![CDATA[Upgrade PHP latest Version in xampp windows]]></category>
		<category><![CDATA[Upgrade PHP version 7 to 8]]></category>
		<category><![CDATA[Upgrade PHP Version in xampp]]></category>
		<guid isPermaLink="false">https://www.learnphponline.in/?p=11985</guid>

					<description><![CDATA[<p>Upgrade PHP Version 7 to 8 in Xampp: Here we have the latest version in PHP with many updates and improvements. Many web developers, especially beginners, have a common question “How to update PHP version in XAMPP?”. After getting a lot of queries on the topic, we decided to write a short...</p>
<p>The post <a rel="nofollow" href="https://www.learnphponline.in/how-to-upgrade-php-version-7-to-8-in-xampp-php-8-latest-version/">How to Upgrade PHP Version 7 to 8 in Xampp (PHP 8 Latest Version)</a> appeared first on <a rel="nofollow" href="https://www.learnphponline.in">Learn PHP online</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Upgrade PHP Version 7 to 8 in Xampp:</strong> Here we have the latest version in PHP with many updates and improvements. Many web developers, especially beginners, have a common question “How to update PHP version in XAMPP?”. After getting a lot of queries on the topic, we decided to write a short and simple tutorial on how you can easily update the PHP versions in Windows XAMPP.</p>
<p>It is not very complex but sometimes very essential when we need the latest version of PHP for a new project without changing the current local server settings. So, I am trying to cover changing the version by keeping the old version manually.</p>
<h2>Latest Version of PHP in 2021</h2>
<p>Now we have the PHP 8.0.2 version and more latest versions will be on the way. And PHP 8 has many features as given below.</p>
<ul>
<li>PHP 8.0 is a major update of the PHP language.</li>
<li>It contains many new features and optimizations including named arguments, union types, attributes, constructor property promotion, match expression, null safe operator, JIT.</li>
<li>PHP 8 has improvements in the type system, error handling, and consistency.</li>
<li>PHP 8.0 improves speed and compiling.</li>
</ul>
<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-11986" title="Upgrade PHP Version in xampp" src="https://www.learnphponline.in/wp-content/uploads/2021/03/php-8.jpg" alt="Upgrade PHP Version in xampp" width="698" height="316" srcset="https://www.learnphponline.in/wp-content/uploads/2021/03/php-8.jpg 1768w, https://www.learnphponline.in/wp-content/uploads/2021/03/php-8-300x136.jpg 300w, https://www.learnphponline.in/wp-content/uploads/2021/03/php-8-1024x463.jpg 1024w, https://www.learnphponline.in/wp-content/uploads/2021/03/php-8-768x348.jpg 768w, https://www.learnphponline.in/wp-content/uploads/2021/03/php-8-1536x695.jpg 1536w" sizes="(max-width: 698px) 100vw, 698px" /></p>
<p>&nbsp;</p>
<h2>Now, I am going to tell you How to Upgrade PHP Version 7 to 8 in Xampp</h2>
<p><strong>Step1:</strong> Download PHP 8.0.2 Version from its official website. <a href="https://windows.php.net/download/">click to download PHP 8.0.2. </a> You need to download <strong>Thread safe version</strong>.</p>
<p><img decoding="async" class="aligncenter wp-image-11987" title="Upgrade PHP Version in xampp" src="https://www.learnphponline.in/wp-content/uploads/2021/03/Download-PHP-8.0.2.jpg" alt="Upgrade PHP Version in xampp" width="796" height="372" srcset="https://www.learnphponline.in/wp-content/uploads/2021/03/Download-PHP-8.0.2.jpg 1874w, https://www.learnphponline.in/wp-content/uploads/2021/03/Download-PHP-8.0.2-300x140.jpg 300w, https://www.learnphponline.in/wp-content/uploads/2021/03/Download-PHP-8.0.2-1024x478.jpg 1024w, https://www.learnphponline.in/wp-content/uploads/2021/03/Download-PHP-8.0.2-768x359.jpg 768w, https://www.learnphponline.in/wp-content/uploads/2021/03/Download-PHP-8.0.2-1536x717.jpg 1536w" sizes="(max-width: 796px) 100vw, 796px" /></p>
<p>after download the PHP latest version. you need to create a new folder named &#8220;php&#8221; and extract the downloaded zip inside the PHP folder you recently created.</p>
<p>&nbsp;</p>
<p><strong class="ii jn">Step 2:</strong> Go to your XAMPP installation directory ( C:\xampp\php ) and rename your old PHP directory with an old version prefix like PHP to <strong>PHP_old or PHP_7_4</strong>. Now copy &amp; paste the extracted new PHP folder here. You can see this in the given image below. I have changed my <strong>PHP folder name to php7.2</strong>. and the PHP folder is the latest version.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 3:</strong> After the rename of the old php folder to php7.2 or something else. Now you need to move the new <strong>&#8220;php&#8221; </strong>to xampp directory.</p>
<p><img decoding="async" class="aligncenter wp-image-11990" title="Upgrade PHP Version 7 to 8 in Xampp" src="https://www.learnphponline.in/wp-content/uploads/2021/03/xampp-directory-1.jpg" alt="Upgrade PHP Version 7 to 8 in Xampp" width="727" height="361" srcset="https://www.learnphponline.in/wp-content/uploads/2021/03/xampp-directory-1.jpg 1131w, https://www.learnphponline.in/wp-content/uploads/2021/03/xampp-directory-1-300x149.jpg 300w, https://www.learnphponline.in/wp-content/uploads/2021/03/xampp-directory-1-1024x508.jpg 1024w, https://www.learnphponline.in/wp-content/uploads/2021/03/xampp-directory-1-768x381.jpg 768w" sizes="(max-width: 727px) 100vw, 727px" /></p>
<p>&nbsp;</p>
<p><strong class="ii jn">Step4:</strong> Next, open <em><strong>httpd-xampp.conf</strong></em> from the XAMPP dashboard configuration panel. as you can see in the given below image.</p>
<figure id="attachment_11989" aria-describedby="caption-attachment-11989" style="width: 720px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="wp-image-11989 size-full" title="Upgrade PHP Version 7 to 8 in Xampp" src="https://www.learnphponline.in/wp-content/uploads/2021/03/xampp-dashboard-image.jpeg" alt="Upgrade PHP Version 7 to 8 in Xampp" width="720" height="446" srcset="https://www.learnphponline.in/wp-content/uploads/2021/03/xampp-dashboard-image.jpeg 720w, https://www.learnphponline.in/wp-content/uploads/2021/03/xampp-dashboard-image-300x186.jpeg 300w" sizes="(max-width: 720px) 100vw, 720px" /><figcaption id="caption-attachment-11989" class="wp-caption-text">Upgrade PHP Version 7 to 8 in Xampp</figcaption></figure>
<p>&nbsp;</p>
<p id="53c9" class="ig ih fe ii b ij ik il im in io ip iq ir is it iu iv iw ix iy iz ja jb jc jd ew cm" data-selectable-paragraph="">On the <strong>PHP-Module setup section</strong>, comment these two lines and add the two lines below</p>
<blockquote class="ju jv jw">
<p id="ba69" class="ig ih jx ii b ij ik il im in io ip iq ir is it iu iv iw ix iy iz ja jb jc jd ew cm" data-selectable-paragraph="">#<br />
# PHP-Module setup<br />
#<br />
LoadFile &#8220;/xampp/php/php8ts.dll&#8221;<br />
LoadFile &#8220;/xampp/php/libpq.dll&#8221;<br />
LoadModule php_module &#8220;/xampp/php/php8apache2_4.dll&#8221;<br />
LoadFile &#8220;C:/xampp/php/libsqlite3.dll&#8221;</p>
</blockquote>
<p data-selectable-paragraph=""><img loading="lazy" decoding="async" class="wp-image-11995 size-full aligncenter" src="https://www.learnphponline.in/wp-content/uploads/2021/03/e.png" alt="" width="459" height="486" srcset="https://www.learnphponline.in/wp-content/uploads/2021/03/e.png 459w, https://www.learnphponline.in/wp-content/uploads/2021/03/e-283x300.png 283w" sizes="(max-width: 459px) 100vw, 459px" /></p>
<p id="44e7" class="ig ih fe ii b ij ik il im in io ip iq ir is it iu iv iw ix iy iz ja jb jc jd ew cm" data-selectable-paragraph="">That’s it. Now restart your XAMPP server and keep coding. Now you can check your php version via using the <em>php_info()</em> function or you can also use the command: <em>php -v</em></p>
<h3>Summary for Upgrade PHP Version 7 to 8 in Xampp</h3>
<p>May in some cases you will face an error or issue. so, I recommend you restart your system once and check it again. if the error is still there or Xampp apache is not running so, you have 2 scenarios.</p>
<ol>
<li>Your PHP new version does not download or extracted correctly. or you have downloaded the wrong zip file.</li>
<li>you did a mistake in the editing of <em><strong>httpd-xampp.conf </strong></em>file.</li>
</ol>
<p>Also, Read <a href="https://www.learnphponline.in/top-10-programming-languages/">Top Programming Languages</a> and the <a href="https://www.learnphponline.in/make-money-without-investment-in-india/">Best way to earn online</a>.</p>
<p>&nbsp;</p>
<div class="pvc_clear"></div>
<p id="pvc_stats_11985" class="pvc_stats all  " data-element-id="11985" style=""><i class="pvc-stats-icon medium" aria-hidden="true"><svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="chart-bar" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-chart-bar fa-w-16 fa-2x"><path fill="currentColor" d="M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z" class=""></path></svg></i> <img loading="lazy" decoding="async" width="16" height="16" alt="Loading" src="https://www.learnphponline.in/wp-content/plugins/page-views-count/ajax-loader-2x.gif" border=0 /></p>
<div class="pvc_clear"></div>
<p>The post <a rel="nofollow" href="https://www.learnphponline.in/how-to-upgrade-php-version-7-to-8-in-xampp-php-8-latest-version/">How to Upgrade PHP Version 7 to 8 in Xampp (PHP 8 Latest Version)</a> appeared first on <a rel="nofollow" href="https://www.learnphponline.in">Learn PHP online</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.learnphponline.in/how-to-upgrade-php-version-7-to-8-in-xampp-php-8-latest-version/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
