2016-06-06 5 views
3

많은 Drupal 사이트를 설치했으며 이전에는이 ​​문제가 없었습니다. PHP에서Drupal 8 설치용 멀티 바이트 문자열 입력 변환을 비활성화 할 수 없습니다.

멀티 바이트 문자열 입력 변환이 활성화되고 비활성화해야합니다 : 8.1.2을 설치하기에 나는라는 오류가 발생합니다. php.ini mbstring.http_input 설정을 확인하십시오. 자세한 내용은 을 PHP mbstring 설명서를 참조하십시오.

# PHP 5, Apache 1 and 2. 
<IfModule mod_php5.c> 
    php_value assert.active     0 
    php_flag session.auto_start    off 
    php_value mbstring.http_input    pass 
    php_value mbstring.http_output   pass 
    php_flag mbstring.encoding_translation off 
    # PHP 5.6 has deprecated $HTTP_RAW_POST_DATA and produces warnings if this is 
    # not set. 
    php_value always_populate_raw_post_data -1 
</IfModule> 

내가 테스트 한이 htaccess로 파일이 사용됩니다

이미 드루팔와 함께 제공되는 .htaccess 파일이를 비활성화해야 섹션이 있습니다. 서버가 cPanel/WHM이 설치된 CentOS 7의 새로운 설치를 실행 중입니다. 나는 그 기본값이 있었다 것보다 현저하게 다른 생각하지 않습니다하지만

; http input encoding. 
mbstring.http_input = pass 

; http output encoding. mb_output_handler must be 
; registered as output buffer to function 
mbstring.http_output = pass 

: 나는 또한에 (WHM를 사용하여) PHP 설정을 변경. 나는 이것이 실제 사용 된 php.ini 파일이라는 것을 확인했다. 나는 아파치를 다시 시작했다.

답변

0

mbstring 확장을 가능하게했습니다.