Composer update memory limit : <p>I need to run composer update at my hosting so I log in with ssh and try to run comand:</p>

<pre><code>composer update
</code></pre>

<p>inside /www folder where I have laravel and composer instalation</p>

<p>but I get error:
<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>in contact with my hosting provider they tell me to run command:</p>

<pre><code>php -d memory_limit=512M composer update
</code></pre>

<p>I run this command but I get: "Could not open file: composer" </p>

<p>What to do? What is the soluton here?</p>
