Server Error when trying to edit htaccess file

Posted in: Newsmag
Post count: 11

I tied to edit the post max size post execution time as were told in the theme status panel in order to get away from errors. so according to the link provided (https://forum.tagdiv.com/system-status-parameters-guide/)
I updated my php.ini file but nothing is changed.

when i update my .htaccess file it gives a server error.
php.ini

max_input_vars = 5000

max_execution_time = 300

post_max_size = 50M

upload_max_filesize = 50M
.hthaccess

php_value max_input_vars 5000

php_value max_execution_time 300

php_value post_max_size 50M

php_value upload_max_filesize 50M

am I doing anything wrong?

Post count: 23312

Hello avengerxp,

Notice that issue is not theme related. You should contact your hosting provider, tell this problem because they should be able to provide a more accurate response.

Thanks for the message!

Post count: 9544

also note typo in the docs

.hthaccess

should be

.htaccess

Post count: 9544

Also, the master php.ini file may have limitations.

Also note syntax on Linux

php_value max_input_vars 3000
# BEGIN WordPress
<IfModule mod_rewrite.c>
</IfModule>
# END WordPress

Post count: 33

You should remove the php values from your .htaccess file, they don’t really belong there. If the values you place in your local php.ini file have no affect then ask your hosting provider to increase them for you in the servers global php.ini file.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.