title: Composer update memory limit
body: <p>I need to run composer update at my hosting so I log in with ssh and try to run the following command inside /www folder where I have Laravel and composer installation:</p>
  <pre><code>composer update
  </code></pre>
  <p>I get this error:</p>
  <p><a href="https://i.stack.imgur.com/FGC01.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FGC01.png" alt="enter image description here" /></a></p>
  <p>I'm in contact with my hosting provider, they told me to run the command:</p>
  <pre><code>php -d memory_limit=512M composer update
  </code></pre>
  <p>I ran this command but I got: &quot;Could not open file: composer&quot;</p>
  <p>What to do? What is the solution here?</p>