# The file vendor/composer/autoload\_static.php is automatically deleted immediately after uploading it

**URL:** <https://forum.infinityfree.com/t/the-file-vendor-composer-autoload-static-php-is-automatically-deleted-immediately-after-uploading-it/122042>\
**Category:** Hosting Support\
**Created:** [November 19, 2026, 8:11pm UTC](https://forum.infinityfree.com/t/the-file-vendor-composer-autoload-static-php-is-automatically-deleted-immediately-after-uploading-it/122042 "2026-11-19T20:11:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![almohrez](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/almohrez/32/68977_2.png) [@almohrez](https://forum.infinityfree.com/u/almohrez)\
**Post date:** [November 19, 2026, 8:11pm UTC](https://forum.infinityfree.com/t/the-file-vendor-composer-autoload-static-php-is-automatically-deleted-immediately-after-uploading-it/122042/1 "2026-11-19T20:11:52Z")

</div>

### Website URL

[https://awael.gt.tc/](https://awael.gt.tc/)

Hello,

I’m hosting a Laravel 13 application on InfinityFree.

The file `vendor/composer/autoload_static.php` is automatically deleted immediately after uploading it.

The file is only 45 KB. I also tested uploading a normal PHP file, which works and remains on the server. However, both the original Composer file and a renamed copy are deleted.

Could you please check whether your malware scanner is incorrectly flagging this Composer autoload file?

Thank you.

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [November 19, 2026, 8:38pm UTC](https://forum.infinityfree.com/t/the-file-vendor-composer-autoload-static-php-is-automatically-deleted-immediately-after-uploading-it/122042/2 "2026-11-19T20:38:52Z")

</div>

> [@Why are my files deleted after uploading them?](https://forum.infinityfree.com/t/why-are-my-files-deleted-after-uploading-them/49310/1):
>
> Files that exceed the file size limit are deleted automatically. The limit depends on the file type:
> 
> - HTML, PHP and JS files: 1 MB
> - .htaccess files: 10 kB
> - All other files: 10 MB

Looks like it’s within the file limit.  
I’m not very familiar with laravel but this link might help address the issues

> [@How to install a Laravel site on InfinityFree](https://forum.infinityfree.com/t/how-to-install-a-laravel-site-on-infinityfree/118578):
>
> Laravel is one of the most popular PHP frameworks, but it was not designed with regular shared web hosting in mind. Some parts of Laravel work out of the box on InfinityFree, some need a bit of configuration, and some features cannot be used at all. This article walks you through what to do, what to watch out for, and what you’ll need to work around. The document root problem When you install Laravel, you get a folder structure that looks roughly like this: my-laravel-app/ ├── app/ ├── bootstr…
