简体   繁体   中英

having issue in htaccess HTTP 500 Internal Server Error

I got that error after editing my .htaccess in my webhost with this values:

php_value max_input_vars 3000
php_value suhosin.get.max_vars 3000
php_value suhosin.post.max_vars 3000
php_value suhosin.request.max_vars 3000

How to fix it? i need to put those line of code in my htacess cause i got an error that says

Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. 

in my page.

Add this to your .htaccess file. This code works for me. If you want to add more menu tabs ? then increase the value more than 5000.

<IfModule mod_php5.c>

 php_value max_input_vars 5000

</IfModule>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM