[英]How can I tell what my PHP $_Get max value is
I've installed a Magento payment gateway extension, and one of the caveats of the extension is "Some php / server configurations disallow access to the $_GET variable when it contains very long strings (2000+ characters) - if your server does this the extension will not work". 我已经安装了Magento支付网关扩展,扩展的一个警告是“有些php / server配置在包含非常长的字符串(2000+个字符)时禁止访问$ _GET变量 - 如果你的服务器这样做了扩展将无法正常工作“。
I think this is my case, because the extension is not working, and the log shows a result cut off at 549 characters. 我认为这是我的情况,因为扩展程序不起作用,日志显示结果被截断为549个字符。 The error is similar to someone else who was able to resolve it with php.ini using suhosin.get.max_value_length = 4000
. 该错误类似于能够使用suhosin.get.max_value_length = 4000
使用php.ini解析它的其他人。
I tried that and php_value get.max_value_length 4096
in my .htaccess, but it did not fix it. 我在.htaccess中尝试了这个和php_value get.max_value_length 4096
,但它没有解决它。 I'm on shared hosting. 我在共享主机上。 My phpinfo does not show suhosin, and doesn't have any info related to the $_Get variable. 我的phpinfo没有显示suhosin,也没有任何与$ _Get变量相关的信息。
Short of contacting my host, which I may do, how can I tell if my $_Get variable doesn't allow >549 characters? 没有联系我的主机,我可以做,如何判断我的$ _Get变量是否不允许> 549个字符? Can I increase it myself, or do I need my webhost to do this? 我可以自己增加它,还是需要我的虚拟主机来执行此操作?
2013-06-25T02:10:09+00:00 DEBUG (7): MageBaseDps successAction result v5vQIupexyLD3UxBouvx2DLStUSsBqXshGHhPczf-iD7ZVGZvQP8nHhPeSizAJ5j0LqVHgqe2c9h24swuCbGALUGWk041aZM82uCFpLUzLZmKAo5qKAQ4EoYGAwao-GwG96Lk3bK2dU9dqufK9MA6LPVkO62nWVFnJj4i83mQDTts5-r4dq1n3bhqVCE0tR8fW6vgMxVaSe2vI1lqa-3IaHb_iRFBrpSFS91tMX4gOmumJg2OwLGNqyywdmkiH1ywmYDkr46yYjLEsv5h5jTJtF8jtXXJQGOPQ6RE4bxZladjrVtYZRoDOlTy6rK09ktXYKnU8vX8frLOArU8XsCULOFZ-0YYjk0j8Yl-LoWzhlT7ooqDoAzLxtD0R2n53_avOafOqUYFst6vJMPop5fhrZxt2h9ycF50Ir9lZK4MIHsIXCszojrdAWZiDrtOaKzlIUwvO0u2qbr2rkVyA6heTug_ONiyxw7SweEUYKpb8x2059XaG1bqbB6s39e_9cJ_bNUJwd6p1MGtehXuX0wJANWd2Qi2qO-dM
2013-06-25T02:10:09+00:00 DEBUG (7): 301039 MageBaseDps User returned to Success Url
The GET max length is not PHP-controlled, it's controlled by the web server (like Apache). GET最大长度不受PHP控制,它由Web服务器(如Apache)控制。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.