<?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>xampp &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/tag/xampp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Mon, 16 Aug 2021 04:53:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>[Solved] Linux : How to uninstall Xampp in Linux (ubuntu) Machine.</title>
		<link>https://www.bestdevops.com/how-to-uninstall-xampp-in-linux-ubuntu-machine/</link>
		
		<dc:creator><![CDATA[Sushant Kumar]]></dc:creator>
		<pubDate>Fri, 13 Aug 2021 17:33:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[XAMPP]]></category>
		<category><![CDATA[linux xampp]]></category>
		<category><![CDATA[uninstall Xampp]]></category>
		<category><![CDATA[uninstall Xampp in Linux]]></category>
		<category><![CDATA[xampp]]></category>
		<category><![CDATA[xampp uninstall]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19003</guid>

					<description><![CDATA[If You Want to uninstall Xampp from your linux machine, then follow the Below Steps :- Step 1 :- first [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">If You Want to uninstall Xampp from your linux machine, then follow the Below Steps :- </p>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 1 :-</span></strong> first Stop the server from running by below command</p>



<p class="has-text-align-center wp-block-paragraph"><strong><em>sudo /opt/lampp/lampp stop</em></strong></p>



<p class="wp-block-paragraph"><span class="has-inline-color has-primary-color"><strong>Step 2 :-</strong></span> Now run below command to uninstall Xampp.</p>



<p class="has-text-align-center wp-block-paragraph"><strong><em>sudo /opt/lampp/uninstall</em></strong></p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="578" height="251" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-66.png" alt="" class="wp-image-19004" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-66.png 578w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-66-300x130.png 300w" sizes="(max-width: 578px) 100vw, 578px" /></figure></div>



<p class="wp-block-paragraph"><strong><em><span class="has-inline-color has-primary-color">Step 3 :-</span></em></strong> Now run the below command to remove Xampp All leftover files.</p>



<p class="has-text-align-center wp-block-paragraph"><strong><em>sudo rm -r /opt/lampp</em></strong></p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="555" height="227" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-67.png" alt="" class="wp-image-19005" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-67.png 555w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-67-300x123.png 300w" sizes="(max-width: 555px) 100vw, 555px" /></figure></div>



<p class="wp-block-paragraph">As you can see in the screenshot, after running the command all files are removed and when xampp is also not starting, it means xampp is successfully uninstalled from our linux machine.</p>



<p class="wp-block-paragraph">That&#8217;s All. I hope this article helps you to uninstall xampp.</p>



<p class="wp-block-paragraph">Keep Exploring.</p>



<p class="wp-block-paragraph">Thanks for reading.</p>



<p class="wp-block-paragraph"> </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[Solved] Linux : How to install XAMPP on Linux (Ubuntu) machine.</title>
		<link>https://www.bestdevops.com/how-to-install-xampp-on-linux-ubuntu-machine/</link>
		
		<dc:creator><![CDATA[Sushant Kumar]]></dc:creator>
		<pubDate>Thu, 12 Aug 2021 05:51:05 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[XAMPP]]></category>
		<category><![CDATA[install XAMPP]]></category>
		<category><![CDATA[install XAMPP on Linux]]></category>
		<category><![CDATA[Ubuntu machine]]></category>
		<category><![CDATA[xampp]]></category>
		<category><![CDATA[XAMPP on Linux]]></category>
		<category><![CDATA[xampp ubuntu]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19002</guid>

					<description><![CDATA[To Successfully Install Xampp in your Ubuntu Machine just follow the Below Steps carefully. Step 1 :- Login to your [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">To Successfully Install Xampp in your Ubuntu Machine just follow the Below Steps carefully.</p>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 1 :-</span></strong>  Login to your (Ubuntu) Machine. </p>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 2 :-</span></strong>  run the below command to download Xampp.</p>



<p class="has-text-align-center wp-block-paragraph"><em><strong>wget https://downloadsapachefriends.global.ssl.fastly.net/7.4.22/xampp-linux-x64-7.4.22-0-installer.run</strong></em></p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="1024" height="422" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-68-1024x422.png" alt="" class="wp-image-19008" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-68-1024x422.png 1024w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-68-300x124.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-68-768x317.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-68.png 1121w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 3 :-</span></strong> Go to root user by entering below command</p>



<p class="has-text-align-center wp-block-paragraph"><strong><em>sudo -s</em></strong></p>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 4 :-</span></strong> Now we give permission to execute to the downloaded xampp file. For that run,</p>



<p class="has-text-align-center wp-block-paragraph"> <strong><em>chmod 755 xampp-linux-x64-7.4.22-0-installer.run</em></strong></p>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 5 :-</span></strong> Now, we run the downloaded file for installation, for that run</p>



<p class="has-text-align-center wp-block-paragraph"><strong><em>sudo ./xampp-linux-x64-7.4.22-0-installer.run</em></strong></p>



<h2 class="has-text-align-center wp-block-heading">Output</h2>


<pre class="wp-block-code"><span><code class="hljs language-php">root@sushant-VirtualBox:/home/sushant<span class="hljs-comment"># sudo ./xampp-linux-x64-7.4.22-0-installer.run</span>
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you <span class="hljs-keyword">do</span> not want
to install. Click Next when you are ready to <span class="hljs-keyword">continue</span>.

XAMPP Core Files : Y (Cannot be edited)

XAMPP Developer Files &#91;Y/n] :y

Is the selection above correct? &#91;Y/n]: y

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press &#91;Enter] to <span class="hljs-keyword">continue</span>:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

<span class="hljs-keyword">Do</span> you want to <span class="hljs-keyword">continue</span>? &#91;Y/n]: y

----------------------------------------------------------------------------
Please wait <span class="hljs-keyword">while</span> Setup installs XAMPP on your computer.

 Installing
 <span class="hljs-number">0</span>% ______________ <span class="hljs-number">50</span>% ______________ <span class="hljs-number">100</span>%
 <span class="hljs-comment">#########################################</span>

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.

root@sushant-VirtualBox:/home/sushant<span class="hljs-comment">#</span>
</code></span></pre>


<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 6 :-</span></strong> Installation Done. Now we want to start server for that run,</p>



<p class="has-text-align-center wp-block-paragraph"><strong><em>sudo /opt/lampp/lampp start </em></strong></p>



<p class="wp-block-paragraph">List of commands to start, stop and restart server</p>



<p class="wp-block-paragraph"> To Start Server :- <strong><em>sudo /opt/lampp/lampp start </em></strong> </p>



<p class="wp-block-paragraph">To Stop Server :-  <strong><em>sudo /opt/lampp/lampp stop</em></strong></p>



<p class="wp-block-paragraph">To Restart Server :-  <strong><em>sudo /opt/lampp/lampp restart </em></strong> </p>



<p class="wp-block-paragraph">That&#8217;s all, I hope this article helps you to solve your problem.</p>



<p class="wp-block-paragraph">Keep Exploring.</p>



<p class="wp-block-paragraph">Thanks for reading.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Deploy a Laravel project to ubuntu server using git</title>
		<link>https://www.bestdevops.com/deploy-a-laravel-project-to-ubuntu-server-using-git/</link>
		
		<dc:creator><![CDATA[pradeep]]></dc:creator>
		<pubDate>Fri, 06 Aug 2021 12:53:48 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[gitbash]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[xampp]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=18823</guid>

					<description><![CDATA[Steps to create project in local machine Step :1 Create a folder anywhere in your local computer with any name [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Steps to create project in local machine</h2>



<h3 class="wp-block-heading">Step :1 Create a folder anywhere in your local computer with any name (Mine is workspace)</h3>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="127" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-49-1024x127.png" alt="" class="wp-image-18824" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-49-1024x127.png 1024w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-49-300x37.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-49-768x96.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-49.png 1141w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>You can go for any name you want</figcaption></figure>



<h3 class="wp-block-heading">Step:2 Make sure git and gitbash is installed in your local machine if not download it from <a href="https://git-scm.com/downloads" target="_blank" rel="noreferrer noopener">here</a></h3>



<h3 class="wp-block-heading">Step:3 Login into your GitHub account and create a repository</h3>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-50.png" alt="" class="wp-image-18825" width="623" height="649" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-50.png 698w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-50-288x300.png 288w" sizes="auto, (max-width: 623px) 100vw, 623px" /></figure>



<h3 class="wp-block-heading">Step 4: Clone the repository into your local machine </h3>



<ul class="wp-block-list"><li>get inside your repository </li></ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="912" height="354" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-51.png" alt="" class="wp-image-18826" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-51.png 912w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-51-300x116.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-51-768x298.png 768w" sizes="auto, (max-width: 912px) 100vw, 912px" /></figure>



<ul class="wp-block-list"><li>Copy the URL under HTTPS area </li><li>There are many more ways to clone a repo but for time being use this method </li><li>Now get inside our workspace folder that we created before (local/workspace)</li><li>right click and open git bash or command line inside the folder </li></ul>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="843" height="390" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-52.png" alt="" class="wp-image-18827" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-52.png 843w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-52-300x139.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-52-768x355.png 768w" sizes="auto, (max-width: 843px) 100vw, 843px" /></figure>



<ul class="wp-block-list"><li>Run these git commands to get started </li></ul>


<pre class="wp-block-code"><span><code class="hljs">git init </code></span></pre>


<pre class="wp-block-preformatted">This is to&nbsp;initialize a new, empty repository </pre>


<pre class="wp-block-code"><span><code class="hljs language-php">git <span class="hljs-keyword">clone</span> https:<span class="hljs-comment">//github.com/pradeeprjth/laravelTestingProject.git &#91;HTTPS_URL_YOU_COPYED_FROM_GITHUB] </span></code></span></pre>


<pre class="wp-block-preformatted">This will clone everything stored in your remote repository into your local folder/repository
You will find a folder with the same name you created your repository </pre>



<h3 class="wp-block-heading">Step :5 paste your project/code inside the folder you just clone from the repository </h3>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-53.png" alt="" class="wp-image-18828" width="691" height="563" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-53.png 691w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-53-300x244.png 300w" sizes="auto, (max-width: 691px) 100vw, 691px" /></figure>



<ul class="wp-block-list"><li>Again run the below commands to push all the changes and codes back to the repository </li><li>Right click and open your git bash or cmd inside the folder </li></ul>


<pre class="wp-block-code"><span><code class="hljs">git add .</code></span></pre>


<pre class="wp-block-preformatted">The git add command&nbsp;<strong>adds a file to the Git staging area</strong>. This area contains a list of all the files you have recently changed.</pre>


<pre class="wp-block-code"><span><code class="hljs language-javascript">git commit -m<span class="hljs-string">"first_commit"</span></code></span></pre>


<pre class="wp-block-preformatted"><em>git commit</em>&nbsp;creates a commit, which is like a snapshot of your repository. These commits are snapshots of your entire repository at specific times. and you need to specify a commit message using -m flag including double quote</pre>


<pre class="wp-block-code"><span><code class="hljs">git push origin master    or    git push origin main </code></span></pre>


<pre class="wp-block-preformatted">git push -u origin master is&nbsp;<strong>used for pushing local content to GitHub</strong></pre>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-54.png" alt="" class="wp-image-18829" width="725" height="460" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-54.png 935w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-54-300x191.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-54-768x488.png 768w" sizes="auto, (max-width: 725px) 100vw, 725px" /><figcaption>Sorry for the CLI style I like it in this way </figcaption></figure>



<p class="wp-block-paragraph"></p>



<h3 class="wp-block-heading">Step 6: Login to your remote machine or ubuntu machine and make sure xampp and composer is installed in that machine.</h3>



<p class="wp-block-paragraph">Follow this blog if xampp and composer are not installed in your remote/ubuntu machine </p>



<h3 class="wp-block-heading">1. Installed Xampp</h3>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><a href="https://www.devopsschool.com/blog/installing-xampp-7-4-xxx-on-ubuntu/">How to install and Configure XAMPP on Ubuntu?</a></p><cite>This blog is written by Rajesh thanks to him.</cite></blockquote>



<h3 class="wp-block-heading">2. Another thing which is required is Composer</h3>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><a href="https://www.bestdevops.com/install-composer-using-cli-in-ubuntu-globally/">Install composer using CLI in ubuntu (Globally)</a></p><cite>Follow this to install composer in your machine using CLI</cite></blockquote>



<h3 class="wp-block-heading">Stpe :7 Go to your htdocs folder or if you have lampp then www  folder and run below commands</h3>


<pre class="wp-block-code"><span><code class="hljs">git init </code></span></pre>


<pre class="wp-block-preformatted"> This is to&nbsp;initialize a new, empty repository but this time inside your remote machine </pre>


<pre class="wp-block-code"><span><code class="hljs language-php">git <span class="hljs-keyword">clone</span> https:<span class="hljs-comment">//github.com/pradeeprjth/laravelTestingProject.git &#91;HTTPS_URL_YOU_COPYED_FROM_GITHUB]</span></code></span></pre>


<pre class="wp-block-preformatted">Now as we already have pushed all our code into our repository so we'll get all the files folder into our htdocs folder or www folder </pre>



<h3 class="wp-block-heading">Step 8: Now to run the project we need to do some configuration </h3>



<ul class="wp-block-list"><li>Copy the .env.example file to .env coz git ignore some files and folder including our vendor folder which contains all our Laravel project files . To do this run the below command.</li></ul>


<pre class="wp-block-code"><span><code class="hljs language-css"><span class="hljs-selector-tag">cp</span> <span class="hljs-selector-class">.env</span><span class="hljs-selector-class">.example</span> <span class="hljs-selector-class">.env</span></code></span></pre>


<ul class="wp-block-list"><li>Install composer, as git ignores our vendor folder in order to get it back we need to run </li></ul>


<pre class="wp-block-code"><span><code class="hljs">composer install</code></span></pre>


<ul class="wp-block-list"><li>You may get an error while composer install </li><li><em>Class &#8216;Illuminate\Support\facades\Schema not found </em></li><li>In order to solve this go to your project folder in local and inside C:\xampp\htdocs\WrokSpace\laravelTestproject\app\Providers\AppServiceProvider.php</li><li>use this class in the top <br>use Illuminate\Support\Facades\Schema;</li></ul>



<ul class="wp-block-list"><li>Next thing is to set the APP_KEY value in your .env file, run the command below </li></ul>


<pre class="wp-block-code"><span><code class="hljs language-css"><span class="hljs-selector-tag">php</span> <span class="hljs-selector-tag">artisan</span> <span class="hljs-selector-tag">key</span><span class="hljs-selector-pseudo">:generate</span></code></span></pre>


<h3 class="wp-block-heading">Step 9: Now go to your browser and put your ip followed by the project name /public to visit the application</h3>



<h3 class="wp-block-heading">  </h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript">http:<span class="hljs-comment">//90.437.1965.252/laravelTestproject/public/</span></code></span></pre>


<p class="wp-block-paragraph">That&#8217;s it hope it help&#8217;s someone out there.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Install a Laravel project inside htdocs folder in ubuntu</title>
		<link>https://www.bestdevops.com/install-a-laravel-project-inside-htdocs-folder-in-ubuntu/</link>
		
		<dc:creator><![CDATA[pradeep]]></dc:creator>
		<pubDate>Fri, 06 Aug 2021 09:49:10 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[mbstring]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[xampp]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=18793</guid>

					<description><![CDATA[I was moving a Laravel project to a ubuntu virtual machine.Steps that I followed: 1. Installed Xampp 2. Another thing [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">I was moving a Laravel project to a  ubuntu  virtual machine.<br>Steps that I followed:</h3>



<h3 class="wp-block-heading">1.  Installed Xampp </h3>



<figure class="wp-block-embed is-type-wp-embed is-provider-devopsschool-com wp-block-embed-devopsschool-com"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="lwILFIsreb"><a href="https://www.devopsschool.com/blog/installing-xampp-7-4-xxx-on-ubuntu/">How to install  and Configure XAMPP  on Ubuntu?</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;How to install  and Configure XAMPP  on Ubuntu?&#8221; &#8212; DevOpsSchool.com" src="https://www.devopsschool.com/blog/installing-xampp-7-4-xxx-on-ubuntu/embed/#?secret=AiPeZ0yBbG#?secret=lwILFIsreb" data-secret="lwILFIsreb" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div><figcaption>By following this blog i was successfully xampp running on my machine. Thanks to the auther Rajesh Kumar</figcaption></figure>



<h3 class="wp-block-heading">2. Another thing which is required is Composer </h3>



<figure class="wp-block-embed is-type-wp-embed is-provider-devops-devsecops-sre-dataops-aiops wp-block-embed-devops-devsecops-sre-dataops-aiops"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="ep8po4mbU8"><a href="https://www.bestdevops.com/install-composer-using-cli-in-ubuntu-globally/">Install composer using CLI in ubuntu (Globally)</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Install composer using CLI in ubuntu (Globally)&#8221; &#8212; Best DevOps" src="https://www.bestdevops.com/install-composer-using-cli-in-ubuntu-globally/embed/#?secret=EhSiZXmf7j#?secret=ep8po4mbU8" data-secret="ep8po4mbU8" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<h3 class="wp-block-heading">3. Now the thing is when we try to install Laravel project inside our htdocs folder it through an error</h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="884" height="260" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-42.png" alt="" class="wp-image-18795" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-42.png 884w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-42-300x88.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-42-768x226.png 768w" sizes="auto, (max-width: 884px) 100vw, 884px" /></figure>



<p class="wp-block-paragraph"></p>



<h3 class="wp-block-heading">4. To resolve this error first create a folder inside your htdocs.</h3>


<pre class="wp-block-code"><span><code class="hljs">mkdir Projects</code></span></pre>


<h3 class="wp-block-heading">5 grant read and write permissions to this folder by running this commands</h3>


<pre class="wp-block-code"><span><code class="hljs">sude chmod +rw Projects</code></span></pre>


<h3 class="wp-block-heading">6. You may get another error while installing is (&#8220;mbstring&#8221; extension is missing.)</h3>



<p class="wp-block-paragraph">Run the below commands to resolve these errors</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">sudo apt-<span class="hljs-keyword">get</span> install php-mbstring
</code></span></pre>

<pre class="wp-block-code"><span><code class="hljs">sudo su - root
</code></span></pre>


<h3 class="wp-block-heading">7. That&#8217;s it now try installing your project again </h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript">composer create-project --prefer-dist laravel/laravel testProject <span class="hljs-string">"5.8.*"</span></code></span></pre>


<p class="wp-block-paragraph">That&#8217;s it, Hope it help someone out there.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
