Xinito87 Posted July 27, 2014 Share Posted July 27, 2014 Hi, I have been trying to change "php_value max_input_vars" to 6000 cause I'm not able to translate any module. The problem is that when I put this line inside the HTTACCES and I upload it appear an "Internal server error". Is like something I'm doing wrong, but I don't know what. I attach an image if someone can help Thanks. Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 have you tried with alter php environment with own php.ini file? it looks like php_value is not allowed in .htaccess Link to comment Share on other sites More sharing options...
Xinito87 Posted July 27, 2014 Author Share Posted July 27, 2014 I don't know how to prepare this php.ini I have tried to do it but it doesn't work I think because the message that say I need to increase maxvarvalue is already appearing. I attach the PHP.ini file I'm using --------------------------------------------------------------------- ; Enable the PHP scripting language engine under Apache.; http://php.net/engine engine = On ; How many GET/POST/COOKIE input variables may be acceptedmax_input_vars = 10000 ; Maximum amount of memory a script may consume (128MB); http://php.net/memory-limit memory_limit = 256M ; Whether or not to register the EGPCS variables as global variables. You may; want to turn this off if you don't want to clutter your scripts' global scope; with user data.; You should do your best to write your scripts so that they do not require; register_globals to be on; Using form variables as globals can easily lead; to possible security problems, if the code is not very well thought of.; http://php.net/register-globals register_globals = Off ; Magic quotes are a preprocessing feature of PHP where PHP will attempt to; escape any character sequences in GET, POST, COOKIE and ENV data which might; otherwise corrupt data being placed in resources such as databases before; making that data available to you. Because of character encoding issues and; non-standard SQL implementations across many databases, it's not currently; possible for this feature to be 100% accurate. PHP's default behavior is to; enable the feature. We strongly recommend you use the escaping mechanisms; designed specifically for the database your using instead of relying on this; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is; scheduled removed in PHP 5.4.; Default Value: On; Development Value: Off; Production Value: Off; http://php.net/magic-quotes-gpc magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.; http://php.net/magic-quotes-runtime magic_quotes_runtime = Off ; Use Sybase-style magic quotes (escape ' with '' instead of \').; http://php.net/magic-quotes-sybase magic_quotes_sybase = Off ; http://php.net/allow-url-fopen allow_url_fopen = On ; http://php.net/allow-url-include allow_url_include = Off Link to comment Share on other sites More sharing options...
Recommended Posts