MAMP:php.ini - mbstring.http_input - 禁用Drupal [英] MAMP: php.ini - mbstring.http_input - Disabling for Drupal

查看:244
本文介绍了MAMP:php.ini - mbstring.http_input - 禁用Drupal的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因为我现在有OSX 10.10,所以将我的MAMP更新到最新的[3.0.7.2]。在本地安装任何新的Drupal安装问题。错误 - mbstring.http_input必须被禁用。



我已经检查了从 /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.iniand 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆