MAMP:php.ini - mbstring.http_input - 禁用Drupal [英] MAMP: php.ini - mbstring.http_input - Disabling for Drupal
问题描述
我已经检查了从 /Applications/MAMP/bin/php/php5.6.2/conf/php.ini加载的php.ini
并显示它已被禁用。
我读到这个并尝试将其设置为auto / off / false / pass,没有运气。 - http://us3.php.net/manual/en/ function.mb-http-input.php
我错过了什么吗?任何帮助非常感谢。
使用 php.ini
文件禁用mbstring.http_input工作。但是也许你更改了一个卸载的php版本的 php.ini
文件(因为MAMP附带许多php版本,php5.6.2在你的情况下)。
您可以尝试从 .htaccess
文件中禁用mbstring.http_input。只需将这些行复制到文件中。
php_value mbstring.http_input pass
php_value mbstring.http_output pass
或通过 settings.php
文件:
ini_set('mbstring.http_input','pass');
ini_set('mbstring.http_output','pass');
Updated my MAMP to the most current [3.0.7.2] since I have OSX 10.10 now. Having issues with installing any new Drupal installations locally now. Error - mbstring.http_input must be disabled.
I have checked the php.ini being loaded in from /Applications/MAMP/bin/php/php5.6.2/conf/php.ini
and shows it is disabled.
I read into this and tried setting it to auto/off/false/pass, no luck. - http://us3.php.net/manual/en/function.mb-http-input.php
Am I missing something? Any help greatly appreciated.
Disabling mbstring.http_input using php.ini
file should work. But maybe you changed the php.ini
file for an unloaded php version (because MAMP comes with many php versions, php5.6.2 in your case).
You can try disabling mbstring.http_input from .htaccess
file. Just copy these lines to the file.
php_value mbstring.http_input pass
php_value mbstring.http_output pass
Or via settings.php
file:
ini_set('mbstring.http_input', 'pass');
ini_set('mbstring.http_output', 'pass');
这篇关于MAMP:php.ini - mbstring.http_input - 禁用Drupal的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!