title: How to solve a stream_socket_sendto() error in Symfony 3.4 with WAMP?
body: <p>I try to upload an image with a size of 7MO ( 6.99 exactly ) but I have  this error :</p>
  
  <blockquote>
    <p>stream_socket_sendto(): A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied</p>
  </blockquote>
  
  <p>I use  Symfony 3.4 and WAMP and here is a part of my configuration:</p>
  
  <pre><code>upload_max_filesize: 16M
  post_max_size: 16M
  memory_limit: 128M
  </code></pre>
  
  <p>I have this error when I try to dump my photo object but when I don't try it, I have this :</p>
  
  <pre><code>Code: $file = $photo-&gt;getFile();
  
  Output: The file "" does not exist
  </code></pre>
  
  <p>The PhotoType:</p>
  
  <pre><code>public function buildForm(FormBuilderInterface $builder, array $options)
      {
          $builder-&gt;add('nom')
  
              -&gt;add('file',FileType::class)
              -&gt;add('alt');
      }
  </code></pre>
  
  <p>Do you have any idea on how to solve that?</p>