CentOS의 PHP에서 /usr/share/file/magic이 로드되지 않는 이유는 무엇입니까?

CentOS의 PHP에서 /usr/share/file/magic이 로드되지 않는 이유는 무엇입니까?

이것이 내가 하는 일이다:

$ php
<?php
$finfo=finfo_open(FILEINFO_MIME, '/usr/share/file/magic');

이것이 내가 얻는 것입니다:

PHP Notice:  finfo_open(): Warning: description `8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice data enco' truncated in - on line 2
PHP Notice:  finfo_open(): Warning: description `8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice data enco' truncated in - on line 2
PHP Notice:  finfo_open(): Warning: <= not supported in - on line 2
PHP Notice:  finfo_open(): Warning: <= not supported in - on line 2
PHP Notice:  finfo_open(): Warning: <= not supported in - on line 2
PHP Notice:  finfo_open(): Warning: >= not supported in - on line 2
PHP Warning:  finfo_open(): Failed to load magic database at '/usr/share/file/magic'. in - on line 2

이것은 CentOS 5.5, PHP 5.3을 새로 설치한 것입니다. 파일이 /usr/share/file/magic존재하며 액세스할 수 있습니다.

관련 정보