Cannot upload my files using your upload interface

It is only 630mb and the max size should be 5gb for free. So why does your site crash when I try to upload my files?

The size limits are:

HTML, PHP and JS files are limited to 1 MB.
.htaccess files are limited to 10 kB.
All other files are limited to 10 MB.

I don’t understand this… you are probably using the wrong terms

MonstaFTP ?

Please use FileZilla

4 Likes

Then I cant upload my website here, cause several of my javascript files and php are bigger than 1mb.

JS = Minify them = code in one line (search Google with “minify javascript online”) or split them into multiple files

for PHP, try removing comments and the like

4 Likes

A few other tips, especially for PHP code:

  • Try splitting your big files into smaller, separate files, and use require/include statements to merge them at runtime.
  • If you use Composer, try running without the optimized autoloader (the generated autoloader files can get quite big).
  • Try to avoid using PHP files as data files. If you have to store more data, other file types like .json or .bin can store up to 10 MB of data.
4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.