Preciso que aumentem o php_value upload_max_filesize 128M php_value post_max_size 128M php_value mem

Website URL

Por favor Aumentem o php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value memory_limit 128M
php_value max_execution_time 300
php_value max_input_time 300)

Error Message

(please share the FULL error message you see, if applicable)

Other Information

(Pretendo assinar uma conta premium mas, não sem antes testar todo o potencial do meu site.)

Hi and welcome to the forum! Please note that this is an English-speaking forum, so you must speak in English or at least translate what you wrote. Since you didn’t do that I’m gonna translate it for you:

Well, you can’t change PHP values on free hosting. The default values are fine for a normal website; also the memory limit had been increased to 512 MBs since the PHP 8.2 upgrade. If you want to change PHP values, you might be better off upgrading, though I’m not sure if it’s gonna let you change them because last time I tried Premium Hosting I used the default values.

6 Likes

I understand and thank you. so I will migrate to another server. Thanks.

1 Like

Are you sure that’s necessary? Many website scripts have recommended server settings, but most of them will work fine with lower limits.

For example, your requirements say the file upload limit should be at least 128 MB. But if you never intend to upload files that large, then there is no reason to have the upload limit that high. And definitely no reason to use different hosting because of limits you might never hit.

You can change all of these settings on premium hosting yourself. The default limits are good enough, and you shouldn’t really raise these limits any higher than is necessary for security reasons.

4 Likes

The server denies access to certain directories or URLs, including REST API endpoints, it turns out that it is necessary for my website.

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