<?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>php&#039;s_domExtenstion &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/tag/phps_domextenstion/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>Fri, 06 Aug 2021 09:04:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>require ext-dom * -&gt; it is missing from your system. Install or enable PHP&#8217;s dom extension.</title>
		<link>https://www.bestdevops.com/require-ext-dom-it-is-missing-from-your-system-install-or-enable-phps-dom-extension/</link>
		
		<dc:creator><![CDATA[pradeep]]></dc:creator>
		<pubDate>Fri, 06 Aug 2021 07:22:56 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[installPHPComposer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php&#039;s_domExtenstion]]></category>
		<category><![CDATA[project]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=18755</guid>

					<description><![CDATA[Make sure you are in htdocs folder while executing the commands. I was trying to install Laravel in a Ubuntu [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>Make sure you are in htdocs folder while executing the commands.</strong></h2>



<figure class="wp-block-image size-full is-resized"><img fetchpriority="high" decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-40.png" alt="" class="wp-image-18766" width="523" height="446" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-40.png 737w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-40-300x256.png 300w" sizes="(max-width: 523px) 100vw, 523px" /></figure>



<h2 class="wp-block-heading">I was trying to install Laravel in a Ubuntu virtual machine and got this error </h2>



Your requirements could not be resolved to an installable set of packages.
  Problem 1
    &#8211; phpunit/phpunit[7.5.0, &#8230;, 7.5.20] require ext-dom * -&gt; it is missing from your system. Install or enable PHP&#8217;s dom extension.
    &#8211; Root composer.json requires phpunit/phpunit ^7.5 -&gt; satisfiable by phpunit/phpunit[7.5.0, &#8230;, 7.5.20].



<h3 class="wp-block-heading">And To enable extensions, verify that they are enabled in your .ini files:</h3>



<p class="wp-block-paragraph">But in your server you&#8217;re missing&nbsp;<code>ext-dom</code>.&nbsp;<code>php-xml</code>&nbsp;has all the related packages you need. So, you can simply install it by running:</p>


<pre class="wp-block-code"><span><code class="hljs">sudo apt install php-xml</code></span></pre>


<h3 class="wp-block-heading">Most likely you are missing&nbsp;<code>mbstring</code>&nbsp;too. If you get the error, install this package as well with:</h3>


<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>


<h3 class="wp-block-heading">Then run:</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript">composer update
composer <span class="hljs-built_in">require</span> cviebrock/eloquent-sluggable</code></span></pre>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
