# Shared virual web running composer dumpautoload -o

**URL:** <https://discourse.slimframework.com/t/shared-virual-web-running-composer-dumpautoload-o/4084>\
**Category:** Questions\
**Created:** [April 22, 2020, 12:47pm UTC](https://discourse.slimframework.com/t/shared-virual-web-running-composer-dumpautoload-o/4084 "2020-04-22T12:47:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![supervan1](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/supervan1/32/362_2.png) [@supervan1](https://discourse.slimframework.com/u/supervan1)\
**Post date:** [April 22, 2020, 12:47pm UTC](https://discourse.slimframework.com/t/shared-virual-web-running-composer-dumpautoload-o/4084/1 "2020-04-22T12:47:33Z")

</div>

Hi,  
Im a bit stuck, how do I run  
**composer clearcache** or **composer dumpautoload -o**  
on a shared virtual server, I dont have ssh access, im using Slim 3

Thanks

---

<div class="post-metadata">

**Author:** ![kAlvaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/kalvaro/32/730_2.png) [@kAlvaro](https://discourse.slimframework.com/u/kAlvaro)\
**Post date:** [May 11, 2020, 3:16pm UTC](https://discourse.slimframework.com/t/shared-virual-web-running-composer-dumpautoload-o/4084/2 "2020-05-11T15:16:44Z")

</div>

Quite late but… You need shell access to run shell commands. But you don’t need to run Composer on production server: run it in your own PC and upload the resulting files as you’d do with your own source code. It’s normally straightforward if PHP versions match but it doesn’t hurt to set [platform](https://getcomposer.org/doc/06-config.md#platform).

---

<div class="post-metadata">

**Author:** ![supervan1](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/supervan1/32/362_2.png) [@supervan1](https://discourse.slimframework.com/u/supervan1)\
**Post date:** [August 21, 2020, 9:26am UTC](https://discourse.slimframework.com/t/shared-virual-web-running-composer-dumpautoload-o/4084/3 "2020-08-21T09:26:34Z")

</div>

Hi, thanks for responding.

I was looking for an answer, thought it was necessary, Luckily, when i uploaded the slim framework and files it all worked, and i never ran into the problem of clearing the cache on the server.
