Osclass reads the upload limit directly from the active PHP configuration, and PHP is still reporting a limit of
3072 KB (3MB), even if your hosting package allows up to 3GB.
Most likely causes are:
- Wrong php.ini file edited
- Website using different PHP version than expected
- PHP-FPM/Apache restart missing
- .user.ini or .htaccess overriding values
- Nginx client_max_body_size
- Hosting panel settings not applied to the actual website runtime
First thing to check is what PHP actually reports to the website.
Create a file called phpinfo.php in your website root with:
<?php phpinfo(); Open it in browser and check these values:
upload_max_filesize post_max_size memory_limit Loaded Configuration File For example:
upload_max_filesize = 64M post_max_size = 128M memory_limit = 256M If `phpinfo()` still shows:
upload_max_filesize = 3M then the new configuration is not being loaded by PHP yet. You can also try:
Apache / .htaccess php_value upload_max_filesize 64M php_value post_max_size 128M php_value memory_limit 256M .user.ini upload_max_filesize=64M post_max_size=128M memory_limit=256M Nginx client_max_body_size 64M; then restart nginx/php-fpm.
Important: Osclass intentionally blocks values higher than PHP allows. So if PHP reports `3072 KB`, Osclass will not let you set anything higher in Media Settings.