<?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>apache web server Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/apache-web-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 20 Apr 2021 14:52:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How to install WordPress on Windows 10.</title>
		<link>https://www.osradar.com/how-to-install-wordpress-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-wordpress-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Tue, 31 Dec 2019 19:20:04 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17452</guid>

					<description><![CDATA[<p>Hi! In this post, we will see how to install WordPress on Windows 10. WordPress is a free software designed to easily create and maintain almost any website. In other words, it is a content management tool (C.M.S), oriented to the production of web content. It is also free software and open-source project that depends [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-wordpress-on-windows-10/">How to install WordPress on Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi! In this post, we will see how to install WordPress on Windows 10. WordPress is a free software designed to easily create and maintain almost any website. In other words, it is a content management tool (C.M.S), oriented to the production of web content. It is also free software and open-source project that depends on the WordPress Foundation. Consequently, the code is created and maintained by volunteers. In this way, it is kept free and its continuity is guaranteed. Well, in this post we will see how to install this fabulous tool to manage web content.</p>



<h2>Prerequisites</h2>



<p>In order to install this software, it is necessary to have the following items configured and running:</p>



<ul><li>A web server like <a rel="noreferrer noopener" aria-label="Apache. (opens in a new tab)" href="https://www.osradar.com/how-to-install-apache-on-windows-10/" target="_blank">Apache.</a></li><li>A database manager. See our post about <a rel="noreferrer noopener" aria-label="MySQL (opens in a new tab)" href="https://www.osradar.com/how-to-install-mysql-in-windows-10/" target="_blank">MySQL</a> in Windows 10.</li><li>A tool for managing the MySQL database. In this case, we will use <a rel="noreferrer noopener" aria-label="phpMyAdmin (opens in a new tab)" href="https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/" target="_blank">phpMyAdmin</a>.  </li></ul>



<h2>Creating a database for WordPress</h2>



<p>A new database must be created before installing WordPress. To do this, run phpMyAdmin by opening this address in your web browser <strong>http://localhost/phpmyadmin/</strong>. Once there, it&#8217;s time to create the database. With this in mind, modify the collation and select <em>utf8mb4_general_ci.</em> Then click on the <strong>New</strong> button in the left panel.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word.jpg" alt="Select a new database" class="wp-image-17453" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Select a new database</figcaption></figure>



<p>In the next window, assign the name of your preference, check the collation and Create the database.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word2.jpg" alt="Create the database" class="wp-image-17455" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Create the database</figcaption></figure>



<p>Once the process is completed, you can view the newly created database.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word3.jpg" alt="phpMyAdmin showing the newly created database" class="wp-image-17457" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word3.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word3-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word3-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word3-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word3-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word3-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>phpMyAdmin showing the newly created database</figcaption></figure>



<h2>Download and install WordPress.</h2>



<p>After setting up the server and creating the database, it&#8217;s time to <a href="https://wordpress.org/download/" target="_blank" rel="noreferrer noopener" aria-label="download  (opens in a new tab)">download </a>the latest version of WordPress. To do this, go to the official website of the project and download the file:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word4.jpg" alt="Download the latest version of WordPress" class="wp-image-17459" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word4.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word4-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word4-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word4-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word4-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word4-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download the latest version of WordPress</figcaption></figure>



<p>After downloading the file, please unzip it to the following path: <strong>C:\Apache24\htdocs</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word5.jpg" alt="Decompress the contents of the folder." class="wp-image-17461" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word5.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word5-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word5-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word5-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word5-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word5-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Decompress the contents of the folder.</figcaption></figure>



<p>It then initiates the configuration of the browser, opening the following address in the web browser:  <strong>http://localhost/wordpress/</strong>  Immediately the initial WordPress configuration page will be displayed. Select the language and continue with the process.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word6.jpg" alt="Select the language of WordPress" class="wp-image-17463" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word6.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word6-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word6-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word6-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word6-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word6-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Select the language of WordPress</figcaption></figure>



<p>The welcome screen then indicates the items that must be satisfied for proper operation. Press Let&#8217;s go to continue:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word7.jpg" alt="WordPress Welcome Screen" class="wp-image-17465" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word7.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word7-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word7-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word7-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word7-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word7-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>WordPress Welcome Screen</figcaption></figure>



<p>Please fill in the following fields:</p>



<ul><li>Database name. In this field, type the name of the previously created database.</li><li>Username. The user with access to this database is the root user.</li><li>Password. By default, the root user does not have a password, so this field should be left blank. However, if it is another user, then the password should be here.</li><li>Database host. Being a local server, then write <em>localhost.</em></li><li>Table prefix. Leave this field unchanged</li></ul>



<p>After entering all the information, press Submit to continue:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word8.jpg" alt="WordPress pre-configurations." class="wp-image-17467" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word8.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word8-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word8-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word8-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word8-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word8-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>WordPress pre-configurations.</figcaption></figure>



<p>Then enter the user name and the site to be created. In addition to the password and email of the site administrator. Finally, proceed with the installation of WordPress.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word9.jpg" alt="Configure WordPress data" class="wp-image-17468" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word9.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word9-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word9-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word9-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word9-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word9-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Configure WordPress data</figcaption></figure>



<p>Then enter the username and password previously entered.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word11.jpg" alt="Enter username and password." class="wp-image-17470" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word11.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word11-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word11-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word11-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word11-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word11-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Enter username and password.</figcaption></figure>



<p>Finally, you have access to WordPress.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/word12.jpg" alt="WordPress finally running" class="wp-image-17472" srcset="https://www.osradar.com/wp-content/uploads/2019/12/word12.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/word12-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/word12-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/word12-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/word12-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/word12-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>WordPress finally running</figcaption></figure>



<p>Ultimately we have seen how to install WordPress on Windows 10. From here, you can easily manage a website. That&#8217;s all for now, I hope you enjoyed it. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-wordpress-on-windows-10/">How to install WordPress on Windows 10.</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-wordpress-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install phpMyAdmin on Windows 10</title>
		<link>https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/#comments</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Tue, 31 Dec 2019 01:14:11 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php 7.4]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[phpMyAdmin in Windows]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17360</guid>

					<description><![CDATA[<p>Hey, what&#8217;s up? Today we&#8217;re going to talk about install phpMyAdmin on WIndows 10. This is open-source software, designed to handle the administration and management of MySQL databases through a graphical user interface. Through this application, we can create, modify and delete records. It is also possible to import and export tables from the MySQL [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/">How to install phpMyAdmin on Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hey, what&#8217;s up? Today we&#8217;re going to talk about install phpMyAdmin on WIndows 10. This is open-source software, designed to handle the administration and management of MySQL databases through a graphical user interface.  Through this application, we can create, modify and delete records. It is also possible to import and export tables from the MySQL database. In addition, we can execute MySQL queries, optimize and repair the database and many more tasks. Well, in this post we are going to see how to install phpMyAdmin in Windows 10.</p>



<h2>Prerequisites</h2>



<p> To make use of this tool, the webserver must obviously be configured and running correctly. In like manner, here in osradar.com, I show you how to install and configure the following elements:</p>



<ul><li>Any web server running and configured. In this case, we will use <a rel="noreferrer noopener" aria-label="Apache. (opens in a new tab)" href="https://www.osradar.com/how-to-install-apache-on-windows-10/" target="_blank">Apache.</a></li><li>A database manager. For this purpose, we will use <a rel="noreferrer noopener" aria-label="MySql. (opens in a new tab)" href="https://www.osradar.com/how-to-install-mysql-in-windows-10/" target="_blank">MySql.</a></li><li><a rel="noreferrer noopener" aria-label="PHP. (opens in a new tab)" href="https://www.osradar.com/how-to-install-php-in-windows-10/" target="_blank">PHP.</a></li></ul>



<h2>Download the latest version of phpMyAdmin.</h2>



<p> In the first place, go to the official phpMyAdmin website and <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://www.phpmyadmin.net/downloads/" target="_blank">download</a> the latest version of the tool from there At the time of writing this post, the version is 5.0.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php-1.jpg" alt="Download the latest version of phpMyAdmin" class="wp-image-17374" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download the latest version of phpMyAdmin</figcaption></figure>



<p>Then unzip the file and rename it to phpMyAdmin. Then drag this folder to the next path: <strong>C:\Apache24\htdocs</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php2-1.jpg" alt="Unzip the file, modify its name and drag it to the address above." class="wp-image-17376" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php2-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Unzip the file, modify its name and drag it to the address above.</figcaption></figure>



<h2>Set up some phpMyAdmin files.</h2>



<p>To ensure the correct functioning of the tool, it is necessary to make some previous configurations. First, inside the program folder, locate the file <strong>config.sample.inc.php</strong>. Then, rename it to <strong>config.inc.php</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php3-1.jpg" alt="Rename the selected file." class="wp-image-17379" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php3-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Rename the selected file.</figcaption></figure>



<p> Finally, you have to modify it with your favorite text editor. Please select the next line:</p>



<pre class="wp-block-code"><code>$cfg&#91;'blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</code></pre>



<p> Enter a value of your choice, minimum of 32 characters long:</p>



<pre class="wp-block-code"><code>$cfg&#91;'blowfish_secret'] = ''; /* k7b862qwq4ygj8a2hkczmd6spqsnspnkd */</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php4-2.jpg" alt="" class="wp-image-17380" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php4-2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Finally, save the configuration file.</p>



<h2>Enable the necessary extensions.</h2>



<p>On the other hand, it is necessary to enable the extensions required for the operation of the tool. With this intention, remove the <strong>;</strong> at the beginning of the extension, as shown <a rel="noreferrer noopener" aria-label="here. (opens in a new tab)" href="https://www.osradar.com/how-to-install-cakephp-in-windows-10/" target="_blank">here.</a> With this intention, open the file php.ini located in the php folder.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php5-2.jpg" alt="Edit the php.ini file" class="wp-image-17381" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php5-2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Edit the php.ini file</figcaption></figure>



<p>The extensions to be enabled are the following:</p>



<pre class="wp-block-code"><code>extension=php_mbstring.dll
extension=mysqli</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php6-1.jpg" alt="Enable the extensions." class="wp-image-17383" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php6-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Enable the extensions.</figcaption></figure>



<p>Finally, save the configuration and restart the Apache server. With this in mind, press the Win+R combination and run the <strong>services.msc </strong>command. Once the list of services is open, locate the <em>Apache HTTP Server</em>, and restart it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php7-1.jpg" alt="Reboot the Apache server." class="wp-image-17385" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php7-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Reboot the Apache server.</figcaption></figure>



<h2>Login to phpMyAdmin</h2>



<p>Once you have made your settings, it is time to login to phpMyAdmin. To do so, please open the following address in your web browser:  <strong>http://localhost/phpmyadmin/ </strong> Once there, please enter your MySQL username and password:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php8-1.jpg" alt="Enter the MySQL user and password." class="wp-image-17386" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php8-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Enter the MySQL user and password.</figcaption></figure>



<p>After entering the credentials, the tool&#8217;s Dashboard will be displayed. Additionally, when you scroll down the page, a warning sign appears.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php9-1.jpg" alt="The initial screen of phpMyAdmin showing the warning notice." class="wp-image-17389" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php9-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>The initial screen of phpMyAdmin showing the warning notice.</figcaption></figure>



<p>This warning is shown because the tool needs a database to work. In case you have not created it before, it is possible to import it from the same installation folder. With this in mind, please click on the Import menu. Then navigate to the following path:<strong> C:\Apache24\htdocs\phpMyAdmin\sql.</strong> And from there, select <em>create_tables.sql</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php10-1.jpg" alt="Import the create_tables.sql database" class="wp-image-17390" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php10-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Import the create_tables.sql database</figcaption></figure>



<p>Consequently, a database will be created under the name <em>phpmyadmin</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php11-1.jpg" alt="Recently imported phpmyadmin database" class="wp-image-17392" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php11-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Recently imported phpmyadmin database</figcaption></figure>



<p>Once the database is created, you have to exit the tool by clicking on the door with the small green arrow.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php12-1.jpg" alt="Exit from phpMyAdmin" class="wp-image-17393" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php12-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Exit from phpMyAdmin</figcaption></figure>



<p>Then, modify the values referred to the user who will manipulate the database. In addition, it enables the database and table storage parameters. To do this, it eliminates the double slashes in front of them. Likewise, in the line corresponding to user control, it adds <em>localhost</em>. Also, it modifies the value <em>controluser </em>and <em>controlpass </em>with the user and the password of MySQL. To graph the process I show you the code before editing it and where you should make the changes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php17-1.jpg" alt="Edit the indicated values." class="wp-image-17395" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php17-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Edit the indicated values.</figcaption></figure>



<p>Below is the appearance of the correctly modified phpMyAdmin configuration file.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php16-2.jpg" alt="The configuration file of phpMyAdmin correctly modified" class="wp-image-17398" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php16-2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>The configuration file of phpMyAdmin correctly modified</figcaption></figure>



<p>Save the configuration and go back to phpMyAdmin. The warning message should have disappeared.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php18-1.jpg" alt="phpMyAdmin running without a warning message" class="wp-image-17400" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php18-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>phpMyAdmin running without a warning message</figcaption></figure>



<p> Ultimately, we have seen how to install phpMyAdmin on Windows 10. This tool facilitates the management and administration of MySQL. I hope you enjoyed this post. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/">How to install phpMyAdmin on Windows 10</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-phpmyadmin-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Composer on Windows 10</title>
		<link>https://www.osradar.com/how-to-install-composer-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-composer-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sun, 15 Dec 2019 01:14:35 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[composer windows 10]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16649</guid>

					<description><![CDATA[<p>Composer is an application-level package manager for the PHP programming language. Its main function is to manage or administer all those libraries that a project needs. This way you don&#8217;t have to download it one by one from the provider&#8217;s website. Additionally, it provides a standard format for managing PHP software dependencies and required libraries. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-composer-on-windows-10/">How to install Composer on Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Composer is an application-level package manager for the PHP programming language. Its main function is to manage or administer all those libraries that a project needs. This way you don&#8217;t have to download it one by one from the provider&#8217;s website. Additionally, it provides a standard format for managing PHP software dependencies and required libraries. In other words, it allows you to download packages from a repository to add them to your project, as well as dependencies that have such packages. Consequently, being a very useful tool, let&#8217;s see how to install Composer in Windows 10.</p>



<h2>Prerequisite</h2>



<p>It is essential to have a web server installed. In this case, we will work with <a rel="noreferrer noopener" aria-label="Apache (opens in a new tab)" href="https://www.osradar.com/how-to-install-apache-on-windows-10/" target="_blank">Apache</a>. You must also have <a rel="noreferrer noopener" aria-label="PHP (opens in a new tab)" href="https://www.osradar.com/how-to-install-php-in-windows-10/" target="_blank">PHP</a> installed. In the links I just provided you explain in detail how to install each one.</p>



<h2>Downloading Composer</h2>



<p>To download Composer just go to its official website, and <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://getcomposer.org/download/" target="_blank">download</a> the latest version. To download Composer just go to its official website, and download the latest version of Composer Setup. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp-2.jpg" alt="Download the latest version of Composer Setup." class="wp-image-16653" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp-2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/comp-2-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp-2-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/comp-2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/comp-2-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/comp-2-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download the latest version of Composer Setup.</figcaption></figure>



<p>This file installs the application and then adds the corresponding environment variable. Once downloaded, just run it. Forthwith, the wizard will present two types of normal installation or developer mode. The installation is the most common and includes an uninstaller. The developer version provides absolute control over the wizard and does not include an uninstaller. For purposes of this post, use the normal version: </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="644" height="470" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp2.jpg" alt="Use the normal version of Setup" class="wp-image-16654" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp2.jpg 644w, https://www.osradar.com/wp-content/uploads/2019/12/comp2-300x219.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp2-324x235.jpg 324w, https://www.osradar.com/wp-content/uploads/2019/12/comp2-575x420.jpg 575w" sizes="(max-width: 644px) 100vw, 644px" /><figcaption>Use the normal version of Setup</figcaption></figure>



<p>The wizard then indicates the path of the php installed in the system.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="644" height="475" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp3.jpg" alt="Choose the php command line" class="wp-image-16657" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp3.jpg 644w, https://www.osradar.com/wp-content/uploads/2019/12/comp3-300x221.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp3-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/comp3-569x420.jpg 569w" sizes="(max-width: 644px) 100vw, 644px" /><figcaption>Choose the php command line</figcaption></figure>



<p>The wizard then verifies the operation of the php command line.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="644" height="475" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp4.jpg" alt="Checking PHP" class="wp-image-16659" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp4.jpg 644w, https://www.osradar.com/wp-content/uploads/2019/12/comp4-300x221.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp4-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/comp4-569x420.jpg 569w" sizes="(max-width: 644px) 100vw, 644px" /><figcaption>Checking PHP</figcaption></figure>



<p>The composer installation wizard is very intuitive.  As a matter of fact, for php to work properly, a php.ini file is required. So, if this file is not present, the installation will show an error. But don&#8217;t worry, the wizard will detect the failure and offer to create the file php.ini.  </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="644" height="475" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp5.jpg" alt="Creating the php.ini file" class="wp-image-16661" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp5.jpg 644w, https://www.osradar.com/wp-content/uploads/2019/12/comp5-300x221.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp5-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/comp5-569x420.jpg 569w" sizes="(max-width: 644px) 100vw, 644px" /><figcaption>Creating the php.ini file</figcaption></figure>



<p>Then edit the network configuration. Specifically, the information about a proxy server. If you don&#8217;t use it, then don&#8217;t tick the box and continue the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="644" height="475" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp6.jpg" alt="Specify the type of connection" class="wp-image-16663" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp6.jpg 644w, https://www.osradar.com/wp-content/uploads/2019/12/comp6-300x221.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp6-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/comp6-569x420.jpg 569w" sizes="(max-width: 644px) 100vw, 644px" /><figcaption>Specify the type of connection</figcaption></figure>



<p>Once the previous settings have been made, the wizard will start the installation of Composer in the system.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="644" height="475" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp7.jpg" alt="Preconfigurations complete" class="wp-image-16665" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp7.jpg 644w, https://www.osradar.com/wp-content/uploads/2019/12/comp7-300x221.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp7-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/comp7-569x420.jpg 569w" sizes="(max-width: 644px) 100vw, 644px" /><figcaption>Preconfigurations complete</figcaption></figure>



<p>After installing Composer, the wizard warns that it is necessary to open a new window to run the program. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="644" height="475" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp8.jpg" alt="Information before the first use of Composer." class="wp-image-16666" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp8.jpg 644w, https://www.osradar.com/wp-content/uploads/2019/12/comp8-300x221.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp8-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/comp8-569x420.jpg 569w" sizes="(max-width: 644px) 100vw, 644px" /><figcaption>Information before the first use of Composer.</figcaption></figure>



<p>Finally, the assistant has finished his work and Composer was successfully installed in the system.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="644" height="475" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp9.jpg" alt="Composer installation completed" class="wp-image-16668" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp9.jpg 644w, https://www.osradar.com/wp-content/uploads/2019/12/comp9-300x221.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp9-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/comp9-569x420.jpg 569w" sizes="(max-width: 644px) 100vw, 644px" /><figcaption>Composer installation completed</figcaption></figure>



<h2>Testing Composer</h2>



<p>As mentioned above, the Composer installer adds the variable environment automatically. So to test the installation of the program, please open a Command Prompt and execute the following command:</p>



<pre class="wp-block-preformatted">composer --version</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/comp10.jpg" alt="Checking Composer version" class="wp-image-16670" srcset="https://www.osradar.com/wp-content/uploads/2019/12/comp10.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/comp10-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/comp10-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/comp10-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/comp10-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/comp10-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Checking Composer version</figcaption></figure>



<p>As can be seen, we have seen how to install Composer on Windows 10. This tool facilitates the development process using the php language. I hope you enjoyed this tutorial. Please share on your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-composer-on-windows-10/">How to install Composer on Windows 10</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-composer-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Enable Apache Virtual Host in Windows 10.</title>
		<link>https://www.osradar.com/how-to-install-apache-virtual-host-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-apache-virtual-host-in-windows-10/#comments</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Tue, 19 Nov 2019 02:36:23 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[virtual hosts]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15701</guid>

					<description><![CDATA[<p>Hello, how are you? In a previous article, we saw how to install Apache in Windows 10. Consequently, we can use all the possibilities offered by this powerful web server. In this opportunity, I will show you how to enable Apache Virtual Host in Windows 10. Enable Virtual Host in Apache As mentioned above, we [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apache-virtual-host-in-windows-10/">How to Enable Apache Virtual Host in Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, how are you? In a previous article, we saw how to install <a rel="noreferrer noopener" aria-label="Apache (opens in a new tab)" href="https://httpd.apache.org" target="_blank">Apache</a> in Windows 10. Consequently, we can use all the possibilities offered by this powerful web server. In this opportunity, I will show you how to enable Apache Virtual Host in Windows 10.</p>



<h2>Enable Virtual Host in Apache</h2>



<p>As mentioned above, we have learned how to install Apache. However, the configuration applied only allows you to set up a single website through the <em>localhost </em>address.  On the negative side, This configuration does not offer enough flexibility of work, as it limits to a single website. This is inconvenient, as it is likely to require more than one website to be mounted on the server. Especially for those applications that do not need a dedicated server. Fortunately, Apache allows the configuration of multiple virtual hosts. On these hosts, it is also possible to interpret the PHP language. Let&#8217;s see how to do it!</p>



<h2>Edit the index.php file</h2>



<p>The first thing we need to do is to modify the index.php file located in the next path: <strong>C:\Apache24\htdocs</strong>. If you want to know how to do it, check our post about <a rel="noreferrer noopener" aria-label="PHP (opens in a new tab)" href="https://www.osradar.com/how-to-install-php-in-windows-10/" target="_blank">PHP</a> in Windows 10.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh2-1-1024x730.jpg" alt="Modifying the index.php file" class="wp-image-15703" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh2-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh2-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh2-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh2-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh2-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh2-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Modifying the index.php file</figcaption></figure>



<p>With this modification what we will do is change the message of the site to show <em>Default website</em>. This is to work more comfortable and not to confuse with the two virtual sites that we are going to add. After saving the file, reload the browser and the page should look like this:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh9-1024x730.jpg" alt="localhost website" class="wp-image-15705" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh9.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh9-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh9-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh9-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh9-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh9-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>localhost website</figcaption></figure>



<h2>Edit the httpd-vhosts.conf file </h2>



<p>Next, we are going to edit the virtual host configuration in Apache. With this intention, please go to this address <strong>C:\Apache24\conf\extra</strong>, once there select the <strong>httpd-vhosts.conf </strong>file and modify it with your favorite text editor:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh3-1024x730.jpg" alt="default httpd-vhosts.conf file configuration " class="wp-image-15707" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh3.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh3-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh3-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh3-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh3-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh3-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>default httpd-vhosts.conf file configuration </figcaption></figure>



<p>In the shaded area that we saw in the previous image, we can see the information that we have to edit. In this opportunity, we are going to add two virtual hosts called <strong>osradar1.com </strong>and <strong>osradar2.com</strong>. Please note that you can assign the name of your preference, you just have to modify the file to your liking.  In addition, we have also enabled port 80, but it is also possible to enable port 443. Thus, we&#8217;re going to replace that code with the following lines:</p>



<pre class="wp-block-code"><code>&lt;VirtualHost osradar1.com:80>
	    ServerAdmin webmaster@osradar1.com
	    DocumentRoot "/sites/osradar1.com"
	    ServerName osradar1.com
	    ServerAlias www.osradar1.com
		&lt;Directory "c:/sites/osradar1.com">
		   AllowOverride All
		   Require all granted
		   Options Indexes FollowSymLinks
		&lt;/Directory>
	    ErrorLog "logs/osradar1.com-error.log"
	    CustomLog "logs/osradar1.com-access.log" common
	&lt;/VirtualHost>

	&lt;VirtualHost osradar2.com:80>
	    ServerAdmin webmaster@osradar2.com
	    DocumentRoot "/sites/osradar2.com"
	    ServerName osradar2.com
	    ServerAlias www.osradar2.com
		&lt;Directory "c:/sites/osradar2.com">
		   AllowOverride All
		   Require all granted
		   Options Indexes FollowSymLinks
		&lt;/Directory>
	    ErrorLog "logs/osradar2.com-error.log"
	    CustomLog "logs/osradar2.com-access.log" common
	&lt;/VirtualHost></code></pre>



<p>Save the file to make the changes effective.</p>



<h2>Edit the httpd.conf file</h2>



<p>Next, we are going to modify the Apache configuration to load the Virtual Host module. With this in mind go to the next address: <strong>C:\Apache24\conf</strong>. Then select the <strong>httpd.conf</strong> file and open it with the text editor. Look for a line with the text <em>vhost, </em>approximately<em> </em>line number 515. Then delete the number sign (<strong>#</strong>).</p>



<ul class="wp-block-gallery columns-2 is-cropped"><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh5-1-1024x730.jpg" alt="" data-id="15711" data-link="https://www.osradar.com/?attachment_id=15711" class="wp-image-15711" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh5-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh5-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh5-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh5-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh5-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh5-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Default setting</figcaption></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh6-1-1024x730.jpg" alt="" data-id="15712" data-link="https://www.osradar.com/?attachment_id=15712" class="wp-image-15712" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh6-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh6-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh6-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh6-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh6-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh6-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Configuration to load the vhost module.</figcaption></figure></li></ul>



<p>By removing the numeral sign, then the line is used and the extra configuration that has just been modified is downloaded. Save the file to continue. Without leaving the file modification, please locate line 187 corresponding to <strong>vhost_alias_module modules/mod_vhost_alias.so</strong>. In the same way that was done with the previous line, it is necessary to delete the numeral sign.</p>



<ul class="wp-block-gallery columns-2 is-cropped"><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh7-1024x730.jpg" alt="" data-id="15714" data-link="https://www.osradar.com/?attachment_id=15714" class="wp-image-15714" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh7.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh7-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh7-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh7-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh7-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh7-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> Default setting </figcaption></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh8-1024x730.jpg" alt="" data-id="15715" data-link="https://www.osradar.com/?attachment_id=15715" class="wp-image-15715" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh8.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh8-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh8-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh8-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh8-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh8-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Configuration that allows Apache to host more than one module.</figcaption></figure></li></ul>



<p>This modification will allow Apache to be able to host more than one website. Press Save to continue.</p>



<h2>Create folders to host virtual websites.</h2>



<p>As you may remember, in the previous steps we modified Apache to host two virtual sites called <em>osradar1.com</em> and <em>osradar2.com</em>. Well, it is necessary to manually create the folders where the necessary files will be stored so that the sites load correctly. First, go to the root of the C drive and create a folder named <em>sites</em>. Once inside it please create two new folders with the name of the website. In this case <em>osradar1.com</em> and <em>osradar2.com</em>:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh19-1024x730.jpg" alt="Creating folders for virtual sites." class="wp-image-15717" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh19.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh19-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh19-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh19-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh19-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh19-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Creating folders for virtual sites.</figcaption></figure>



<p>Then enter the folder <em>osradar1.com</em> and create a new file called <strong>index.php:</strong></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh20-1024x730.jpg" alt="Creates the index.php file" class="wp-image-15718" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh20.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh20-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh20-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh20-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh20-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh20-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Creates the index.php file</figcaption></figure>



<p>Now it is necessary to add the following configuration to the newly created <strong>index.php</strong> file. Thereupon, opens the file with the text editor and copies the following code:</p>



<pre class="wp-block-code"><code>&lt;html>
&lt;body>
	&lt;h1>Osradar 1&lt;/h1>
	&lt;p>Welcome to Osradar 1 site&lt;/p>
	&lt;/body>
	&lt;/html></code></pre>



<p>This procedure has to be followed in the folder <em>osradar2.com</em>:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh21-1024x730.jpg" alt="Create the index.php file in the folder osradar2.com" class="wp-image-15720" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh21.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh21-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh21-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh21-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh21-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh21-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Create the index.php file in the folder osradar2.com</figcaption></figure>



<p>In the same way, we have to modify the <strong>index.php</strong> file adding the following lines of code. Open the file with the text editor and paste the following text:</p>



<pre class="wp-block-code"><code>&lt;html>
&lt;body>
	&lt;h1>Osradar 2&lt;/h1>
	&lt;p>Welcome to Osradar 2 site&lt;/p>
	&lt;/body>
	&lt;/html></code></pre>



<p>Save the files to continue. Please remember that every time we make a change in the Apache configuration, it is necessary to restart the service. This way the changes will be effective. </p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh10-1024x730.jpg" alt="Run the services.msc command and restart the Apache server." class="wp-image-15726" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh10.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh10-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh10-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh10-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh10-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh10-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Run the services.msc command and restart the Apache server.</figcaption></figure>



<h2>Edit the hosts file in Windows.</h2>



<p>Finally, we are going to edit the host file in Windows 10. This will allow the system to load correctly the virtual hosts we have just created. In that case, opens a CMD as administrator and enters the following commands:</p>



<pre class="wp-block-preformatted">cd drivers
cd etc
dir
notepad hosts</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh14-1024x730.jpg" alt="Accessing the host file" class="wp-image-15723" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh14.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh14-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh14-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh14-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh14-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh14-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Accessing the host file</figcaption></figure>



<p>The last command will launch the notepad and it is necessary to add the following lines to the<strong> hosts</strong> file:</p>



<pre class="wp-block-code"><code>127.0.0.1 osradar1.com	www.osradar1.com
127.0.0.1 osradar2.com	www.osradar2.com</code></pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh22-1024x730.jpg" alt="Hosts file finally edited." class="wp-image-15725" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh22.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh22-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh22-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh22-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh22-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh22-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Hosts file finally edited.</figcaption></figure>



<p>What we have done is added the IP address and the names of the websites we have just created. This way the system will be able to load them correctly.</p>



<h2>Testing virtual hosts in the browser.</h2>



<p>If you have followed to the letter the instructions I have given you, then it will already be possible to host more than one website on our Apache server. Remember that if you get any errors, then check if the files were edited correctly. To check if everything is OK, open the web browser and enter <em>localhos</em>t. Open two more tabs and enter the name of the websites we created, in this case,  <em>http://www.osradar1.com// </em> and  <em>http://www.osradar2.com// </em>And all three websites will be running simultaneously on the Apache server.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh16-1-1024x730.jpg" alt="localhost in Apache webserver" class="wp-image-15728" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh16-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh16-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh16-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh16-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh16-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh16-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>localhost in Apache webserver</figcaption></figure>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh17-1024x730.jpg" alt="Sample website osradar1.com running in the browser." class="wp-image-15729" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh17.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh17-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh17-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh17-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh17-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh17-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Sample website osradar1.com running in the browser.</figcaption></figure>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/vh18-1024x730.jpg" alt="Sample website osradar2.com running in the browser." class="wp-image-15731" srcset="https://www.osradar.com/wp-content/uploads/2019/11/vh18.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/vh18-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/vh18-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/vh18-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/vh18-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/vh18-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Sample website osradar2.com running in the browser.</figcaption></figure>



<h2>Conclusion</h2>



<p>Finally, we have seen how to enable Apache virtual host in Windows 10. This configuration will allow loading more than one website in the Apache server. Consequently, it will give us more flexibility to program websites. This is all for the time being, until the next time.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apache-virtual-host-in-windows-10/">How to Enable Apache Virtual Host in Windows 10.</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-apache-virtual-host-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PHP in Windows 10</title>
		<link>https://www.osradar.com/how-to-install-php-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-php-in-windows-10/#comments</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sun, 17 Nov 2019 00:02:14 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15648</guid>

					<description><![CDATA[<p>Hi, how are you? Today I&#8217;m going to talk to you about PHP. It is a general-purpose server-side code and interpreted programming language, also is suitable for web development and can be embedded in HTML. Additionally, PHP has multiple ways of being used, since it can be used with scripts, in a structured way or [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-in-windows-10/">How to install PHP in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, how are you? Today I&#8217;m going to talk to you about PHP.  It is a general-purpose server-side code and interpreted programming language,  also is suitable for web development and can be embedded in HTML. Additionally, PHP has multiple ways of being used, since it can be used with scripts, in a structured way or programming in objects. Likewise, it is mainly used to create web pages, to create dynamic content and to work with databases and HTML. On the other hand, it supports most databases: MySQL, PostgreSQL, SQL Server, MongoDB. Because of these features, millions of web pages use PHP. Therefore, let&#8217;s see how to install PHP in Windows 10.</p>



<h2>Prerequisite</h2>



<p>In this post, we are going to use the PHP language on an Apache server. Obviously it must be successfully configured in Windows. To find out how to do it, please look <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://www.osradar.com/how-to-install-apache-on-windows-10/" target="_blank">here</a>.</p>



<h2>Downloading PHP</h2>



<p>The first thing we have to do is download the latest version of PHP. With this in mind, please go to the <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://windows.php.net/download/" target="_blank">download</a> section and select the latest version (VC15 x64).</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php-1024x730.jpg" alt="Download the latest version of PHP, for the time of this post, is VC15 x64" class="wp-image-15649" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download the latest version of PHP, for the time of this post, is  VC15 x64 </figcaption></figure>



<h2>Installing PHP</h2>



<p>Once you have downloaded the file, unzip it to the root of the Windows installation. For ease of use rename the folder as <em>php</em>. Finally, the route would be as follows: <strong>C:\php</strong>. Finally, we have to add the environment variable for php to run from any Command Prompt. For instructions on how to do this, please read <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://www.osradar.com/how-to-install-wget-in-windows-10/" target="_blank">here</a>. Please edit the Path variable and add the following address: <strong>C:\php</strong>.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="726" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php9-1024x726.jpg" alt="Adding an environment variable for PHP" class="wp-image-15651" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php9.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php9-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php9-768x545.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php9-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php9-696x493.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php9-592x420.jpg 592w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Adding an environment variable for PHP</figcaption></figure>



<p>You can prove that the configuration is successful by running any php command on a CMD, such as <em>php -v</em>:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php2-1024x730.jpg" alt="Testing PHP in a CMD" class="wp-image-15653" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Testing PHP in a CMD</figcaption></figure>



<h2>Configure Apache to run PHP</h2>



<p>Next, we are going to configure the Apache server to correctly interpret the php language. With this in mind, we are going to edit the <em>httpd.con</em>f file located in the following path: <strong>C:\Apache24\conf</strong>. Once the file is selected, open it with your favorite text editor.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php10-1024x730.jpg" alt="Select httpd.conf" class="wp-image-15655" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php10.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php10-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php10-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php10-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php10-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php10-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Select httpd.conf</figcaption></figure>



<p>After opening the file, please locate the <strong>Directory Index</strong> line. Just leave a space after <strong>index.html</strong> and add <strong>index.php</strong>. </p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php11-1024x730.jpg" alt="Locate the DirectoryIndex line. It is usually number 290. After index.html leave a space and type index.php" class="wp-image-15657" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php11.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php11-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php11-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php11-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php11-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php11-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Locate the DirectoryIndex line. It is usually number 290. After index.html leave a space and type index.php</figcaption></figure>



<p>With this modification, we are instructing the server to search for both an <strong>index.html</strong> file and an <strong>index.php</strong> file. Next, we will edit the server configuration file to allow loading the PHP module. With this intention, copy the following lines of code:</p>



<pre class="wp-block-code"><code>LoadModule php7_module C:/php/php7apache2_4.dll
	&lt;IfModule php7_module>
	    AddHandler application/x-httpd-php .php
	    PHPIniDir "C:/php"
	&lt;/IfModule></code></pre>



<p>Please move through the configuration file to line <strong>72 LoadModule foo_module modules/mod_foo.so</strong>. Press enter to leave a blank line and add the previous code.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php12-1024x730.jpg" alt="Add the code to load the PHP module" class="wp-image-15660" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php12.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php12-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php12-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php12-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php12-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php12-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Add the code to load the PHP module</figcaption></figure>



<p>Finally, save the file. Please note that to make the changes effective on the server, you have to stop and restart the service from Windows Services. The following command runs <em>services.msc</em>, once the window is open it locates the Apache server. Then I restart, clicking on the icon that I show you in the image:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php14-1024x730.jpg" alt="Restarting the Apache Server" class="wp-image-15664" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php14.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php14-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php14-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php14-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php14-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php14-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Restarting the Apache Server</figcaption></figure>



<p>These are the previous steps to install PHP in Windows 10.</p>



<h2>Running PHP</h2>



<p>In order for the Apache server to correctly interpret the PHP language, it is necessary to rename the <strong>index.html</strong> file located in the following path: <strong>C:\Apache24\htdocs</strong>. Once the file is selected, change its extension to .php. In this way, the server will correctly interpret the PHP language.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php13-1024x730.jpg" alt="Modify the index.html file" class="wp-image-15662" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php13.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php13-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php13-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php13-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php13-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php13-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Modify the index.html file</figcaption></figure>



<p>All right, all settings are ready. Now let&#8217;s modify this file to run a simple PHP command. In this case Echo. With this in mind, please edit the file with the following configuration:</p>



<pre class="wp-block-code"><code>&lt;html>
&lt;body>
	&lt;h1>it works!&lt;/h1>
	&lt;?php
		echo "Hello from osradar!";
	?>
&lt;/body>
&lt;/html></code></pre>



<p>In the text editor, it should look like this:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php15-1024x730.jpg" alt="Edit index.php" class="wp-image-15666" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php15.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php15-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php15-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php15-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php15-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php15-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Edit index.php</figcaption></figure>



<p>We save the file and open <em>localhost</em> in the web browser. If we have done everything correctly, then we should see this result:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php8-1-1024x730.jpg" alt="Opera browser showing PHP correctly" class="wp-image-15669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php8-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/php8-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/php8-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/php8-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/php8-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/php8-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Opera browser showing PHP correctly</figcaption></figure>



<p>Finally, we have seen how to install PHP in Windows 10. This language is very popular worldwide, so being able to count on it is a great advantage for our projects. This is all for now, I hope to see you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-in-windows-10/">How to install PHP in Windows 10</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-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Apache on Windows 10</title>
		<link>https://www.osradar.com/how-to-install-apache-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-apache-on-windows-10/#comments</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 16 Nov 2019 02:51:42 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[Webservers]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15630</guid>

					<description><![CDATA[<p>Hello, how are you? In this post, we are going to talk a bit about Apache. A web server is a fundamental element of the internet. In fact, through them run the web pages and multimedia material that are on the network. Every time you type a web address in a browser, it generates a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apache-on-windows-10/">How to Install Apache on Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, how are you? In this post, we are going to talk a bit about Apache. A web server is a fundamental element of the internet. In fact, through them run the web pages and multimedia material that are on the network. Every time you type a web address in a browser, it generates a request to a remote server. Additionally, it responds with a service called a web server, showing the web page you want to see. Apache works by establishing a connection between a server and the browsers of website visitors as they send files to each other.  It is a multi-platform software, so it works on both Unix and Windows servers. Although its use has been decreasing over time, it still maintains great penetration in the server market. For that reason, let&#8217;s see how to install Apache in Windows 10.</p>



<h2>Prerequisite</h2>



<p>First, you need to download and install Microsoft Visual Studio C++ 2019. You can do it from this <a rel="noreferrer noopener" aria-label="link (opens in a new tab)" href="https://aka.ms/vs/16/release/VC_redist.x64.exe" target="_blank">link</a>. After downloading it, install it as another program and restart Windows to make the changes effective.</p>



<h2>Downloading Apache.</h2>



<p>The Apache project does not provide binaries or executable files for Windows. Instead, it offers source code to compile. If you are unable to do so, then the same page offers several binary distributions on the internet. In this case, we will use Apache Lounge. The first thing we have to do is go to the page and <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://www.apachelounge.com/download/" target="_blank">download</a> the latest version. At the time of writing this post, it is 2.4.41.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/apache4-1024x730.jpg" alt="Download the latest version of Apache Lounge" class="wp-image-15631" srcset="https://www.osradar.com/wp-content/uploads/2019/11/apache4.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/apache4-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/apache4-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/apache4-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/apache4-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/apache4-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download the latest version of Apache Lounge</figcaption></figure>



<p>Next, create a folder named <em>Apache24</em>. This folder must be located in the root of the directory where Windows is installed. For example: <strong>C:\Apache24</strong>. Then unzip the content you just downloaded into the Apache24 folder. Please make sure that all folders are unzipped into the directory. </p>



<h2>Installing Apache</h2>



<p>Now open a command prompt as administrator and enter the following commands to get to the <strong>bin</strong> folder:</p>



<pre class="wp-block-preformatted">cd.. 
cd..
cd Apache24 
cd bin </pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/apache5-1024x730.jpg" alt="Entering the bin folder" class="wp-image-15633" srcset="https://www.osradar.com/wp-content/uploads/2019/11/apache5.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/apache5-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/apache5-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/apache5-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/apache5-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/apache5-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Entering the bin folder</figcaption></figure>



<p>Now it is time to install and run the server, with this intention please write <em>httpd</em> If you have done everything correctly, then the cursor will remain blinking in the console. In addition, the installer will ask the Windows firewall to be able to connect to the network. You allow access according to your needs.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/apache-1024x730.jpg" alt="Apache server starting and connecting through Windows firewall." class="wp-image-15637" srcset="https://www.osradar.com/wp-content/uploads/2019/11/apache.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/apache-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/apache-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/apache-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/apache-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/apache-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Apache server starting and connecting through Windows firewall.</figcaption></figure>



<p>If you have done everything correctly, then the cursor will remain blinking in the console. Now we will test the server in the web browser by typing <em>localhost</em> or the ip address of the PC. You&#8217;ll see the message: <strong>it works!</strong></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/apache7-1024x730.jpg" alt="Apache web server running in Opera under Windows 10 environment." class="wp-image-15639" srcset="https://www.osradar.com/wp-content/uploads/2019/11/apache7.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/apache7-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/apache7-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/apache7-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/apache7-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/apache7-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Apache web server running in Opera under Windows 10 environment.</figcaption></figure>



<p>Finally stop the service by pressing the combination Control+C.</p>



<h2>Installing Apache as a system service.</h2>



<p>Once the Apache web server has been installed, configured and tested, all that remains is to configure it as a system service. With this in mind, go to the same address we have mentioned and open a CMD with administrator privileges. Then type the following command:</p>



<pre class="wp-block-preformatted"> httpd.exe -k install -n "Apache HTTP Server"  </pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/apache2-1024x730.jpg" alt="Adding Apache as a system service" class="wp-image-15640" srcset="https://www.osradar.com/wp-content/uploads/2019/11/apache2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/apache2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/apache2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/apache2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/apache2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/apache2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Adding Apache as a system service</figcaption></figure>



<p>To check that it is indeed a system service, please run the following command on a Command Prompt:</p>



<pre class="wp-block-preformatted">  services.msc  </pre>



<p>Now we can see all of windows services, look for&nbsp;<strong>Apache HTTP Server</strong>&nbsp;and check if the&nbsp;<em>Startup Type</em>&nbsp;is&nbsp;<em>Automatic</em>. Consequently, every time we start Windows the server will start automatically. This way you don&#8217;t have to start it every time.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/apach3-1024x730.jpg" alt="Apache service configured in automatic startup." class="wp-image-15642" srcset="https://www.osradar.com/wp-content/uploads/2019/11/apach3.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/apach3-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/apach3-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/apach3-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/apach3-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/apach3-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Apache service configured in automatic startup.</figcaption></figure>



<h2>Conclusion</h2>



<p>Finally we have seen how to install Apache on Windows 10. As we mentioned, it is still a very popular option for web servers. So it is very interesting to have this tool. Before saying goodbye I invite you to see our post about <a href="https://www.osradar.com/how-to-install-maven-in-windows-10-server/" target="_blank" rel="noreferrer noopener" aria-label="Maven (opens in a new tab)">Maven</a> in Windows 10.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apache-on-windows-10/">How to Install Apache on Windows 10</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-apache-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Xampp on Windows 10</title>
		<link>https://www.osradar.com/how-to-install-xampp-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-xampp-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Roger Polanco]]></dc:creator>
		<pubDate>Wed, 07 Aug 2019 00:23:56 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[mercury]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[xampp]]></category>
		<guid isPermaLink="false">http://www.googez.com/?p=521</guid>

					<description><![CDATA[<p>Hi! If are you a web developer o simply want to try to program, surely needs some software in order to do your job. Specifically, a webserver like Apache, a &#160;programming language like PHP and a database like MySQL. These programs mentioned have great popularity at the present time, even though there are other tools [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-xampp-on-windows-10/">How to install Xampp on Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi! If are you a web developer o simply want to try to program, surely needs some software in order to do your job. Specifically, a webserver like <a rel="noreferrer noopener" aria-label="Apache (opens in a new tab)" href="https://www.apache.org" target="_blank">Apache</a>, a  &nbsp;programming language like <a rel="noreferrer noopener" aria-label="PHP (opens in a new tab)" href="https://www.php.net" target="_blank">PHP</a> and a database like <a rel="noreferrer noopener" aria-label="MySQL (opens in a new tab)" href="https://www.mysql.com" target="_blank">MySQL</a>.  These programs mentioned have great popularity at the present time, even though there are other tools to use, <a rel="noreferrer noopener" aria-label="MariaDB  (opens in a new tab)" href="https://mariadb.org" target="_blank">MariaDB </a>for example. Under those circumstances, we can install it one per one (please check our tutorial about install <a rel="noreferrer noopener" aria-label="Apache on Windows 10 (opens in a new tab)" href="http://www.osradar.com/installing-apache-on-windows-server-2019/" target="_blank">Apache on Windows 10</a>). Or there is also the opportunity to use software packages that include all the mentioned programs.  In this opportunity, we will talk about <a rel="noreferrer noopener" aria-label="XAMPP (opens in a new tab)" href="https://www.apachefriends.org/index.html" target="_blank">XAMPP</a>. It is an independent free code platform server. It allows us to easily install Apache on our own computer, regardless of our operating system. XAMPP is an open-source package and free. It is a development tool that allows us to test the work on our own computer without having to access the internet. So, let´s see how to install Xampp on Windows 10.</p>



<h2>Installing XAMMP on Windows 10</h2>



<p>To start, we must go to XAMMP site in order to download the last <a href="https://www.apachefriends.org/download.html" target="_blank" rel="noreferrer noopener" aria-label="package  (opens in a new tab)">package </a>( 7.3.7 / PHP 7.3.7). </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp-1024x728.jpg" alt="" class="wp-image-526"/><figcaption>Downloading the last version of XAMPP</figcaption></figure>



<p>Next, we have to run the executable file. If the <em>User Account Control (UAC)</em> has been activated, then a warning sign will appear. In this case, all we have to do is not to install the program into C:\Program File, or simply deactivate <a href="https://www.faqforge.com/windows/how-to-disable-the-user-account-control-uac-in-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="UAC (opens in a new tab)">UAC</a>.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp1.jpg" alt="A warning box indicates an issue with User Account Control (UAC)." class="wp-image-527"/><figcaption>A warning box indicates an issue with User Account Control (UAC).</figcaption></figure>



<p>Obviously, all of the conscious users have an antivirus program running in his PCs, but maybe it can slow down or interfere with the software´s installation. We recommend deactivating antivirus until setup finishes its work.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp2.jpg" alt="Antivirus can slow down or interfere with the installation of the software." class="wp-image-528"/><figcaption>Antivirus can slow down or interfere with the installation of the software. </figcaption></figure>



<p>Now we are ready to start the installation</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp3.jpg" alt="Setup is ready to install" class="wp-image-529"/><figcaption>Setup is ready to install</figcaption></figure>



<p>In the next window, we have to select all the components to install, it is very recommendable to choose it all. Please select <em>Next</em> to continue.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp4.jpg" alt="Selecting the components to install" class="wp-image-530"/><figcaption>Selecting the components to install</figcaption></figure>



<p>Select the destination folder to install. Regarding UAC issue, is highly recommend to install on C unit.  Please select <em>Next</em> to continue. </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp5.jpg" alt="Selecting the folder destination to install XAMPP" class="wp-image-531"/><figcaption>Selecting the folder destination to install XAMPP</figcaption></figure>



<p>The following screen provides information about the application installers for XAMPP created by Bitnami. Please select <em>Next</em> to continue.  </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp6.jpg" alt="Information about other installer powered by Bitnami" class="wp-image-533"/><figcaption>Information about other installer powered by Bitnami</figcaption></figure>



<p>Once prerequisites have been satisfied, setup finally will begin to unpack and install XAMPP.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp7.jpg" alt="Installing XAMPP on Windows 10" class="wp-image-534"/><figcaption>Installing XAMPP on system</figcaption></figure>



<p>During the installation, a Windows firewall notice will be displayed to authorize Apache to communicate on private or public networks. Mark <em>private network </em>and click <em>Next</em> to continue. </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp8.jpg" alt="Setting communication through  windows firewall" class="wp-image-535"/><figcaption>Setting communication through  windows firewall</figcaption></figure>



<p>Finally, the setup has completed the installation and we can start de Control Panel</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp9.jpg" alt="The setup has finished installing XAMPP on the PC" class="wp-image-537"/><figcaption>The setup has finished installing XAMPP on the PC</figcaption></figure>



<h2>XAMPP first running</h2>



<p>Choose the software´s language.</p>



<p></p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp10.jpg" alt="Choose the software´s language." class="wp-image-538"/><figcaption> Choose the software´s language. </figcaption></figure>



<p>The XAMPP icon will appear in the lower right corner of the screen. We double click on it to open the Control Panel. </p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp14-1024x768.jpg" alt="" class="wp-image-539"/></figure>



<p>By default, only the tomcat module will start, and the rest will remain stopped. In the panel, we need to press start to activate it and authorize the connection through the firewall.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp14-1-1024x768.jpg" alt="" class="wp-image-540"/><figcaption>XAMPP Control Panel with only Tomcat module running</figcaption></figure>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp11.jpg" alt="Allow connection through windows firewall" class="wp-image-541"/><figcaption>Allow connection through windows firewall</figcaption></figure>



<h2>Testing XAMPP on Windows Server</h2>



<p>Once we have the Apache server running, we can test the XAMPP dashboard, typing <em>localhost</em> in the browser bar.</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp15-1024x730.jpg" alt="XAMPP Dashboard" class="wp-image-542"/><figcaption>XAMPP Dashboard</figcaption></figure>



<p>Finally, XAMPP has been successfully installed in the system. From now on if we want to start it, we just have to access the installation path, C: \ xampp and click on<em> xampp-control.</em> For convenience, we can create a shortcut to the desktop, and start it from there</p>



<figure class="wp-block-image"><img src="http://www.osradar.com/wp-content/uploads/2019/08/xampp16-1024x732.jpg" alt="Starting XAMPP by running panel" class="wp-image-543"/><figcaption>Starting XAMPP by running panel</figcaption></figure>



<p>Well, this has been everything for today, as we can see the installation process is very simple. So, you know how to install Xampp on Windows server. Enjoy it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-xampp-on-windows-10/">How to install Xampp on Windows 10</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-xampp-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Installing Apache on Windows Server 2019</title>
		<link>https://www.osradar.com/installing-apache-on-windows-server-2019/</link>
					<comments>https://www.osradar.com/installing-apache-on-windows-server-2019/#respond</comments>
		
		<dc:creator><![CDATA[Roger Polanco]]></dc:creator>
		<pubDate>Sun, 28 Jul 2019 14:09:21 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows server 2019]]></category>
		<guid isPermaLink="false">http://www.googez.com/?p=391</guid>

					<description><![CDATA[<p>Hello, in this post we will talk about Apache and how to install in Windows Server 2019. This is a very popular web server; and what is it?, it is a software designed to transfer hypertext data, that is, web pages with all their elements (texts, widgets, banners, etc.) through the HTTP protocol. Specifically, Apache [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/installing-apache-on-windows-server-2019/">Installing Apache on Windows Server 2019</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, in this post we will talk about Apache and how to install in Windows Server 2019.  This is a very popular web server; and what is it?, it is a software designed to transfer hypertext data, that is, web pages with all their elements (texts, widgets, banners, etc.) through the HTTP protocol. Specifically, Apache is a free and Open Source web server, running under GPL license and that has as an interesting feature, being multiplatform, that is to say, it can be operated in Windows, Linux, and MAC Os. In addition, it executes  HTTP/1.1 protocol and for Being Open Source, anyone can modify its code. In the same way, it is maintained by the developer´s user community that works under the guidance of the <a rel="noreferrer noopener" aria-label="Apache Software Foundation (opens in a new tab)" href="https://www.apache.org/" target="_blank">Apache Software Foundation</a>. It is still, one of the most used web servers, with almost <a rel="noreferrer noopener" aria-label="50% (opens in a new tab)" href="https://www.maketecheasier.com/nginx-vs-apache/" target="_blank">50%</a> of penetration in the net</p>



<h2>How to install and configure Apache on Windows Server 2019</h2>



<p style="text-align:left">Firstly, we need to download Microsoft Visual Studio C++ 2019, we can do it from <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://aka.ms/vs/16/release/VC_redist.x64.exe" target="_blank">here</a>. Please install and reboot the server.</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache-1.jpg" alt="Installing Visual C++" class="wp-image-393"/><figcaption>Installing Visual C++</figcaption></figure>



<p>Now, we need to download Apache. Note that,  the Apache HTTP Server Project itself does not provide binary releases of software, only source code. Individual committers&nbsp;<em>may</em>&nbsp;provide binary packages as a convenience, in addition, we can obtain a binary package from binary distributions available on the Internet. In our particular case, we will work with <a rel="noreferrer noopener" aria-label="Apache Lounge (opens in a new tab)" href="https://www.apachelounge.com/download/" target="_blank">Apache Lounge</a> version. The binaries can be downloaded from <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.39-win64-VS16.zip" target="_blank">here</a>.</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache2-1-1024x726.jpg" alt="Unzipping Apache´s binaries " class="wp-image-396"/><figcaption>Unzipping Aàche´s binaries </figcaption></figure>



<h2>Installing Apache</h2>



<p>The binaries came into a ZIP file, in order to installed it, we need to unzip in the root directory of the drive, in our case it is <strong>C:\Apache24</strong>. Now open a CMD with privileges of administrator, to do that just type on search bar <em>cmd,</em> when <em>Command Prompt</em> appears, right-click on it to run as administrator.</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache3-1.jpg" alt="Run CMD  as  administrator " class="wp-image-437"/><figcaption>Run CMD  as  administrator </figcaption></figure>



<p>On the cmd, we have to navigate to  <strong>C:\Apache24\bin  </strong> by using cd command</p>



<pre class="wp-block-preformatted">cd..
cd Apache24 
cd bin</pre>



<p>Next, run the program by typing <em>httpd.exe.</em> If there are no errors, the cursor will sit and blink on the next line.  Now we can check our installation by typing in browser´s address: <em>http://localhost</em>, a very clear message (<em>It works)</em> will indicate, that everything is fine.</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache5.jpg" alt="Apache starting and running" class="wp-image-399"/><figcaption>Apache starting and running</figcaption></figure>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache6-1024x728.jpg" alt="http://localhost on the address browser. Confirmation message: it works! Apache is working" class="wp-image-400"/><figcaption>http://localhost on the address browser. Confirmation message: it works!</figcaption></figure>



<p>In order to shut down Apache, we go back to CMD and press <em>control+C</em>.</p>



<h2>Installing Apache as a system service </h2>



<p>Once that we confirmed the Apache server is working and shut it down, we are ready to install it as a system service. To achieve that, we need to open a Command Prompt window as administrator in the same location before and type:</p>



<pre class="wp-block-preformatted"> httpd.exe -k install -n "Apache HTTP Server" </pre>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache7.jpg" alt="Setting Apache as a system service" class="wp-image-401"/><figcaption>Setting Apache as a system service</figcaption></figure>



<p>Then, in another CMD window we have to enter the next command: </p>



<pre class="wp-block-preformatted"> services.msc </pre>



<p>Now we can see all of windows services, look for <strong>Apache HTTP Server</strong> and check if the <em>Startup Type</em> is <em>Automatic</em>. Now restart the server, log back in again, and  go to this page in the browser’s URL bar:&nbsp;<strong>http://localhost/</strong> </p>



<h2> Configuring Windows’ Firewall </h2>



<p>Ok, we already have installed Apache as system service, now we need to configure the windows´firewall to allow connections from the internet to our web server.  With this intention, we must open the firewall an create a new rule. Let is see how to do it.</p>



<p>In this case, we click on Windows Start and type <em>firewall</em> to open it</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache8-1.jpg" alt="Starting Windows Firewall with Advanced Security" class="wp-image-404"/><figcaption>Starting the Windows Firewall with Advanced Security</figcaption></figure>



<p>Click on <em>Inbound Rules</em> and then in <em>New Rule</em></p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache9-1-1024x725.jpg" alt="Creating a new rule on windows firewall" class="wp-image-406"/><figcaption>Creating a new rule on windows firewall</figcaption></figure>



<p>Select <em>Port </em>in <em>Rule Type</em> and press Next. </p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache10.jpg" alt="Selecting Port in the type of rule" class="wp-image-407"/><figcaption>Selecting Port in the type of rule</figcaption></figure>



<p>In the next window, select <em>TCP </em>and <em>Specific local ports </em>and put this number on the input box: <em>80, 443, 8080</em> and press next. </p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache11.jpg" alt="Selecting local ports to allow connections" class="wp-image-408"/><figcaption>Selecting local ports to allow connections</figcaption></figure>



<p>Select <em>Allow the connection.</em></p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache12.jpg" alt="Allow the connection" class="wp-image-409"/><figcaption>Allow the connection</figcaption></figure>



<p>Check in all the boxes, to apply rules at <em>Domain, Private and Public. </em></p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache13.jpg" alt="Apply to all the options" class="wp-image-410"/><figcaption>Apply to all the options</figcaption></figure>



<p>Assing a name relatively to the rule we just created. For example: <em>Allow incoming connections in Apache</em> and click finish.  </p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/07/apache14.jpg" alt="Assigning rule name to allow incoming connections to Apache" class="wp-image-411"/><figcaption>Assigning rule name </figcaption></figure>



<p>Now we can try connecting from another device, by open in a browser the IP address of our server. In my case  http://192.168.1.59/. Well, as can be seen, our apache server is configured and ready to use. From now, we can install PHP module or MySQL. Also, we invited you to check our tutorial about <a href="http://www.googez.com/how-to-install-ftp-servers-in-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="FTP servers (opens in a new tab)">FTP servers</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/installing-apache-on-windows-server-2019/">Installing Apache on Windows Server 2019</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/installing-apache-on-windows-server-2019/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
