title: Laravel 6.2: The Process class relies on proc_open, which is not available on your PHP installation
body: <p><strong>Hello everybody</strong></p>
  
  <p>I want get website address with form POST method and show meta tags in my page.
  <br>I try writing code with Laravel-6.2 PHP and I think everything OK but don't work. I think it's wrong in Curl code.
  <br>I found a similar error in <a href="https://stackoverflow.com/questions/45419702/laravel-5-2-the-process-class-relies-on-proc-open-which-is-not-available-on-yo">Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation</a> but I have use php 7.2
  <br><br>Please help me find the mistake Thankful<br>
  <br><br>
  <strong>in Controller :</strong></p>
  
  <pre><code>public function MetaChecker(Request $request){
     $rules = array(
          'url' =&gt; 'required|url|max: 255',
          'g-recaptcha-response' =&gt; 'required|captcha',
      );
      $messages = array(
          'url.required' =&gt; 'آدرس سایت معتبر نمی باشد.',
          'g-recaptcha-response.required' =&gt; 'کد امنیتی معتبر نمی باشد.',
      );
      $validator = Validator::make( $request-&gt;all(), $rules, $messages );
      if ( $validator-&gt;fails() )
      {
          return back()
              -&gt;withErrors($validator)
              -&gt;withInput();
      }
      $domain = $request-&gt;input('url');
      $url = str_replace(array('Array', 'http://', 'https://', 'http://www.', 'https://www.', 'www.', '/'), '', strip_tags($domain));
  
      $ch = curl_init($url);
      curl_setopt($ch, CURLOPT_HEADER, 0);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_URL, $url);
      curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  
      $data = curl_exec($ch);
      curl_close($ch);
  
      $doc = new DOMDocument();
      @$doc-&gt;loadHTML($data);
      $nodes = $doc-&gt;getElementsByTagName('title');
      $title = $nodes-&gt;item(0)-&gt;nodeValue;
  
      $metas = $doc-&gt;getElementsByTagName('meta');
  
      for ($i = 0; $i &lt; $metas-&gt;length; $i++)
      {
          $meta = $metas-&gt;item($i);
  
          if($meta-&gt;getAttribute('name') == 'viewport')
              $viewport = $meta-&gt;getAttribute('content');
          if($meta-&gt;getAttribute('name') == 'description')
              $description = $meta-&gt;getAttribute('content');
      }
      if ($data != 0) {
  
          return back()-&gt;with(
              'title', '&lt;span&gt;title : &lt;strong class="en-font"&gt; ' . $title . '&lt;/strong&gt;&lt;/span&gt;')-&gt;with(
              'description', '&lt;span&gt;description : &lt;strong class="en-font"&gt; ' . $description . '&lt;/strong&gt;&lt;/span&gt;')-&gt;with(
              'viewport', '&lt;span&gt;viewport : &lt;strong class="en-font"&gt; ' . $viewport . '&lt;/strong&gt;&lt;/span&gt;');
      }else{
          return back()
              -&gt;withInput()
              -&gt;withErrors(array('error' =&gt; 'آدرس سایت معتبر نمی باشد.'));
      }
  }
  </code></pre>
  
  <p><strong>Error title:</strong></p>
  
  <blockquote>
    <p>LogicException</p>
    
    <p>The Process class relies on proc_open, which is not available on your PHP installation.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/otaGo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/otaGo.png" alt="Screenshot error"></a></p>