<?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>Technology Archives - Nikhil Patel</title>
	<atom:link href="https://nikhilpatel.in/tag/technology/feed/" rel="self" type="application/rss+xml" />
	<link>https://nikhilpatel.in/tag/technology/</link>
	<description>Tech Tips, Tutorials &#38; Innovation at Your Fingertips.</description>
	<lastBuildDate>Mon, 02 Aug 2021 17:13:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://nikhilpatel.in/wp-content/uploads/2021/01/cropped-np500X500-1-32x32.png</url>
	<title>Technology Archives - Nikhil Patel</title>
	<link>https://nikhilpatel.in/tag/technology/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to configure PHP 8 in WAMP Server for windows</title>
		<link>https://nikhilpatel.in/how-to-configure-php-8-in-wamp-server-for-windows/</link>
					<comments>https://nikhilpatel.in/how-to-configure-php-8-in-wamp-server-for-windows/#comments</comments>
		
		<dc:creator><![CDATA[Nikhil Patel]]></dc:creator>
		<pubDate>Sun, 06 Jun 2021 05:05:34 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[wamp server]]></category>
		<guid isPermaLink="false">https://nikhilpatel.in/?p=329</guid>

					<description><![CDATA[<p>The post <a href="https://nikhilpatel.in/how-to-configure-php-8-in-wamp-server-for-windows/">How to configure PHP 8 in WAMP Server for windows</a> appeared first on <a href="https://nikhilpatel.in">Nikhil Patel</a>.</p>
]]></description>
										<content:encoded><![CDATA[
		<div id="fws_6a8d3aa79f51e"  data-column-margin="default" data-midnight="dark"  class="wpb_row vc_row-fluid vc_row top-level standard_section "  style="padding-top: 0px; padding-bottom: 0px; "><div class="row-bg-wrap" data-bg-animation="none" data-bg-overlay="false"><div class="inner-wrap"><div class="row-bg"  style=""></div></div><div class="row-bg-overlay" ></div></div><div class="row_col_wrap_12 col span_12 dark left">
	<div  class="vc_col-sm-12 wpb_column column_container vc_column_container col no-extra-padding inherit_tablet inherit_phone "  data-t-w-inherits="default" data-bg-cover="" data-padding-pos="all" data-has-bg-color="false" data-bg-color="" data-bg-opacity="1" data-hover-bg="" data-hover-bg-opacity="1" data-animation="" data-delay="0" >
		<div class="vc_column-inner" ><div class="column-bg-overlay-wrap" data-bg-animation="none"><div class="column-bg-overlay"></div></div>
			<div class="wpb_wrapper">
				<div id="fws_6a8d3aa7a45d2" data-midnight="" data-column-margin="default" class="wpb_row vc_row-fluid vc_row inner_row standard_section   "  style="padding-top: 0px; padding-bottom: 0px; "><div class="row-bg-wrap"> <div class="row-bg" ></div> </div><div class="row_col_wrap_12_inner col span_12  left">
	<div  class="vc_col-sm-12 wpb_column column_container vc_column_container col child_column no-extra-padding inherit_tablet inherit_phone "   data-t-w-inherits="default" data-bg-cover="" data-padding-pos="all" data-has-bg-color="false" data-bg-color="" data-bg-opacity="1" data-hover-bg="" data-hover-bg-opacity="1" data-animation="" data-delay="0">
		<div class="vc_column-inner" ><div class="column-bg-overlay-wrap" data-bg-animation="none"><div class="column-bg-overlay"></div></div>
		<div class="wpb_wrapper">
			
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>Hello folks, I know it’s a bit late but I realize that this should be helpful for someone. So today we are going to learn how to configure PHP 8 in the windows wamp server.<br />
PHP 8 version is already been launched and you as a tech artisan want to put your hands on a new journey of the version. You may be thinking about how to configure it in my wamp server.</p>
<p>As I personally know that if you are using windows wamp then you can easily switch PHP versions so it very uses full for a run some older projects which were using an older version of PHP.</p>
<p>So before we start configuration we must know the basic requirement of php8.</p>
	</div>
</div>



<div class="nectar-fancy-ul" data-list-icon="steadysets-icon-arrow-right" data-animation="false" data-animation-delay="0" data-color="accent-color" data-spacing="default" data-alignment="left"> 
<ul>
<li>Apache 2.4.x, I already have apache 2.4.46 installed in my wamp</li>
<li>first you need to install Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, and 2019. Download and install both the<a href="https://aka.ms/vs/16/release/vc_redist.x86.exe" target="_blank" rel="noopener"> x86</a> and <a href="https://aka.ms/vs/16/release/vc_redist.x64.exe" target="_blank" rel="noopener">x64</a> versions by <a href="https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0" target="_blank" rel="noopener">clicking this link</a>. If you have 32 bit OS, then i recommend downloading the 32-bit package only. If you have 64-bit os then i recommend installing both.</li>
</ul>
 </div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>Once you are ready with installation then we are ready to configure PHP8.</p>
	</div>
</div>




<div class="nectar-animated-title" data-style="color-strip-reveal" data-color="accent-color">
	<div class="nectar-animated-title-outer">
		<div class="nectar-animated-title-inner">
			<div class="wrap"><h6 style="color: #ffffff;">Step: 1</h6></div>
		</div>
	</div>
</div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>Download the PHP8 version by <a href="https://windows.php.net/download/" target="_blank" rel="noopener">clicking this link for windows</a>. Select the x64 Thread Safe version if you have 64bit Windows. Right now PHP 8.0.6 is available so I downloaded that one.</p>
	</div>
</div>




<div class="nectar-animated-title" data-style="color-strip-reveal" data-color="accent-color">
	<div class="nectar-animated-title-outer">
		<div class="nectar-animated-title-inner">
			<div class="wrap"><h6 style="color: #ffffff;">Step: 2</h6></div>
		</div>
	</div>
</div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>Goto your WAMP directory, (generally C:/wamp) but I had installed it in D:/ drive so my path is D:/wamp. Now go to D:/wamp/bin/php and create a new folder named “php8.0.6″ and extract here the downloaded PHP .zip file.</p>
	</div>
</div>




<div class="nectar-animated-title" data-style="color-strip-reveal" data-color="accent-color">
	<div class="nectar-animated-title-outer">
		<div class="nectar-animated-title-inner">
			<div class="wrap"><h6 style="color: #ffffff;">Step: 3</h6></div>
		</div>
	</div>
</div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>Now, go to the old PHP folder ( D:/wamp/bin/php/php7.2.33). (mine is php7.2.33), and copy wampserver.conf from old and paste it to your “php8.0.6″ D:/wamp/bin/php/php8.0.6) directory.</p>
	</div>
</div>




<div class="nectar-animated-title" data-style="color-strip-reveal" data-color="accent-color">
	<div class="nectar-animated-title-outer">
		<div class="nectar-animated-title-inner">
			<div class="wrap"><h6 style="color: #ffffff;">Step:4</h6></div>
		</div>
	</div>
</div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>Now, go to D:/wamp/bin/php/php8.0.6 directory and find file php.ini-development. Copy it and rename it to php.ini in the same directory. Make sure you set the current path in extension_dir<br />
next, open that php.ini file and update the following values:<br />
<code class="language-php-extras"><br />
extension_dir = D:/wamp/bin/php/php8.0.6/ext<br />
upload_tmp_dir = D:/wamp/tmp<br />
error_log = D:/wamp64/logs/php_error.log<br />
</code><br />
Now, scroll down to extension list and choose the extensions which will nessesory and usefull for your projetcs. mostly are there but you only have to uncomment. i needed following :<br />
<code class="language-php-extras"><br />
extension=bz2<br />
extension=curl<br />
extension=fileinfo<br />
extension=gd<br />
extension=gettext<br />
extension=gmp<br />
extension=intl<br />
extension=imap<br />
extension=ldap<br />
extension=mbstring<br />
extension=exif      ; Must be after mbstring as it depends on it<br />
extension=mysqli<br />
extension=openssl<br />
extension=pdo_mysql<br />
extension=pdo_sqlite<br />
extension=snmp<br />
extension=soap<br />
extension=sockets<br />
extension=xsl<br />
</code><br />
Save and close the file.</p>
	</div>
</div>




<div class="nectar-animated-title" data-style="color-strip-reveal" data-color="accent-color">
	<div class="nectar-animated-title-outer">
		<div class="nectar-animated-title-inner">
			<div class="wrap"><h6 style="color: #ffffff;">Step:5</h6></div>
		</div>
	</div>
</div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>Next, create a duplicate of php.ini file and rename it as phpForApache.ini. This file used by the Apache webserver.</p>
	</div>
</div>




<div class="nectar-animated-title" data-style="color-strip-reveal" data-color="accent-color">
	<div class="nectar-animated-title-outer">
		<div class="nectar-animated-title-inner">
			<div class="wrap"><h6 style="color: #ffffff;">Step:6</h6></div>
		</div>
	</div>
</div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>Now open wampserver.conf copied in D:/wamp/bin/php/php8.0.6/ directory in <strong>Step 3</strong> above. make the changes in it so that it should look like the following:</p>
<p><script src="https://gist.github.com/nikhilpatel8000/d9f2347a374ef3a2af3ee0e324fc0a2e.js"></script></p>
<p><strong>Note</strong> : Here the LoadModuleName for PHP 8 is php_module and LoadModuleFile for PHP 8 is php8apache2_4.dll</p>
	</div>
</div>




<div class="nectar-animated-title" data-style="color-strip-reveal" data-color="accent-color">
	<div class="nectar-animated-title-outer">
		<div class="nectar-animated-title-inner">
			<div class="wrap"><h6 style="color: #ffffff;">Step:7</h6></div>
		</div>
	</div>
</div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>now re-start WAMP server and go to PHP &gt; PHP Version and there you will find version 8.0.6 and select it.<br />
<img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-343" src="https://nikhilpatel.in/wp-content/uploads/2021/06/wanmp.png" alt="" width="624" height="400" srcset="https://nikhilpatel.in/wp-content/uploads/2021/06/wanmp.png 624w, https://nikhilpatel.in/wp-content/uploads/2021/06/wanmp-300x192.png 300w" sizes="(max-width: 624px) 100vw, 624px" /><br />
You can see that the PHP version is now updated to PHP 8 in PHP Info from localhost in any browser.</p>
	</div>
</div>




<div class="nectar-animated-title" data-style="color-strip-reveal" data-color="accent-color">
	<div class="nectar-animated-title-outer">
		<div class="nectar-animated-title-inner">
			<div class="wrap"><h6 style="color: #ffffff;">Notes to keep in mind :</h6></div>
		</div>
	</div>
</div>
<div class="wpb_text_column wpb_content_element " >
	<div class="wpb_wrapper">
		<p>It is recommended to include the new path in your system path directory otherwise you may face some issues with your CURL extension.<br />
navigate to Windows environment variable window and edit system variable &#8220;Path&#8221; to add a new string &#8220;D:\wamp\bin\php\php8.0.6;&#8221;.<br />
This step will resolve the CURL error &#8220;Unable to load dynamic library &#8216;php_curl.dll&#8217; &#8211; The specified module could not be found in Unknown on line 0&#8221;</p>
<p><em>Now Enjoy Codding journey with PHP8. I hope this will help.</em></p>
	</div>
</div>




		</div> 
	</div>
	</div> 
</div></div>
			</div> 
		</div>
	</div> 
</div></div>
<p>The post <a href="https://nikhilpatel.in/how-to-configure-php-8-in-wamp-server-for-windows/">How to configure PHP 8 in WAMP Server for windows</a> appeared first on <a href="https://nikhilpatel.in">Nikhil Patel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nikhilpatel.in/how-to-configure-php-8-in-wamp-server-for-windows/feed/</wfw:commentRss>
			<slash:comments>40</slash:comments>
		
		
			</item>
	</channel>
</rss>
