<?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>yiiframework Archives - Codeplaners</title>
	<atom:link href="https://codeplaners.com/tag/yiiframework/feed/" rel="self" type="application/rss+xml" />
	<link>https://codeplaners.com/tag/yiiframework/</link>
	<description>Code Solution</description>
	<lastBuildDate>Sat, 20 Mar 2021 04:02:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>

<image>
	<url>https://codeplaners.com/wp-content/uploads/2020/09/cropped-favicon-social-32x32.png</url>
	<title>yiiframework Archives - Codeplaners</title>
	<link>https://codeplaners.com/tag/yiiframework/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to install yii</title>
		<link>https://codeplaners.com/how-to-install-yii/</link>
					<comments>https://codeplaners.com/how-to-install-yii/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 19 Mar 2021 00:01:37 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[yiiframework]]></category>
		<category><![CDATA[yii]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=519</guid>

					<description><![CDATA[<p>This post was last updated on March 20th, 2021 at 04:02 amIn this article , i we will show you how to Install Yiiframework With XAMPP On Window Use Composer step by step. via Composer it is simple and easy to install latest Yii 2.0 version by running a single command. Minimum PHP version that &#8230; <a href="https://codeplaners.com/how-to-install-yii/" class="more-link">Continue reading<span class="screen-reader-text"> "How to install yii"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-install-yii/">How to install yii</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="last-modified">This post was last updated on March 20th, 2021 at 04:02 am</p><p>In this article , i we will show you how to Install Yiiframework With XAMPP On Window Use Composer step by step. via Composer it is simple and easy to install latest Yii 2.0 version by running a single command. Minimum PHP version that we need to install is PHP 5.4 or greater.</p>
<h3>Install Composer</h3>
<p>Watch link <a style="color:red;" target="_blank" href="https://codeplaners.com/how-to-install-composer/" rel="noopener noreferrer">composer</a></p>
<h3>Install Yii</h3>
<p>Open Your cmd and set htdocs directory on your XAMPP server to Install Yii</p>
<pre class="brush: php; title: ; notranslate">C:\xampp\htdocs</pre>
<p><img decoding="async" src="https://codeplaners.com/wp-content/uploads/2021/03/cakephpcmd.png" alt="Yiiframework" ></p>
<p>Now Run the following command to install Yii</p>
<pre class="brush: php; title: ; notranslate">composer create-project --prefer-dist yiisoft/yii2-app-basic yiiproject</pre>
<p>installation is complete, use localhost to open your project in browser.</p>
<p>The Path for the same is http://localhost/yiiproject/web/.</p>
<p><img decoding="async" src="https://codeplaners.com/wp-content/uploads/2021/03/yiisu.png" alt="Install CakePHP 4" ></p>
<h3> Configuring the Host File in Windows</h3>
<p>If you wish to customise the native browser addresses for your website. To do this, we&#8217;d like to put together a Virtual Host in XAMPP for a Yii project and during this example we would like to put together the domain localhost.yiiproject.com for our project. To do so, edit <strong>httpd-vhosts.conf</strong> file that is found among <code>C:\xampp\apache\conf\extra\httpd-vhosts.conf</code></p>
<pre class="brush: php; title: ; notranslate">
# VirtualHost for localhost.yiiproject.com
  
&lt;VirtualHost *:80&gt;
    DocumentRoot &quot;C:/xampp/htdocs/yiiproject/web&quot;
    ServerName localhost.yiiproject.com  
    &lt;Directory &quot;C:/xampp/htdocs/yiiproject/&quot;&gt;
      Options Indexes MultiViews FollowSymLinks
      AllowOverride All
      Require all granted
    &lt;/Directory&gt;
&lt;/VirtualHost&gt;
</pre>
<p>After this, apache server is taking note of localhost.yiiproject.com connections, however we&#8217;ve got to piece our hosts file that enables to send localhost.yiiproject.com to the localhost , to do so, edit the hosts file that is found inside <code>C:\Windows\System32\drivers\etc</code></p>
<p>Add follow code snippet at the end of your file:</p>
<pre class="brush: php; title: ; notranslate">
127.0.0.1 localhost
127.0.0.1 127.0.0.1
127.0.0.1 localhost.yiiproject.com
</pre>
<p>After set up Host in XAMPP, restart Apache server using the XAMPP control panel, use this URL <strong>localhost.yiiproject.com</strong> in your browser.</p>
<p><strong>Please be at liberty to comment below, problems if you face – we are here to solve your problems.</strong></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-install-yii/">How to install yii</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/how-to-install-yii/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
