아파치 오류 로그는 다음을 보여줍니다 :
와이즈 비즈그리고
를 입력하면[Tue Feb 13 09:53:19.292366 2018] [suexec:notice] [pid 13643:tid 140586989283072] AH01232: suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Feb 13 09:53:19.292473 2018] [:notice] [pid 13643:tid 140586989283072] ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/) configured.
[Tue Feb 13 09:53:19.292479 2018] [:notice] [pid 13643:tid 140586989283072] ModSecurity: APR compiled version="1.6.3"; loaded version="1.6.3"
[Tue Feb 13 09:53:19.292483 2018] [:notice] [pid 13643:tid 140586989283072] ModSecurity: PCRE compiled version="8.41 "; loaded version="8.41 2017-07-05"
[Tue Feb 13 09:53:19.292487 2018] [:notice] [pid 13643:tid 140586989283072] ModSecurity: LIBXML compiled version="2.9.3"
[Tue Feb 13 09:53:19.292490 2018] [:notice] [pid 13643:tid 140586989283072] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Tue Feb 13 09:53:19.358205 2018] [ssl:warn] [pid 13644:tid 140586989283072] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/mbstring.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/mbstring.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/mbstring.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Tue Feb 13 09:53:19.383462 2018] [mpm_event:notice] [pid 13644:tid 140586989283072] AH00489: Apache/2.4.29 (Unix) OpenSSL/1.0.2g configured -- resuming normal operations [Tue Feb 13 09:53:19.383522 2018] [core:notice] [pid 13644:tid 140586989283072] AH00094: Command line: '/usr/local/apache/bin/httpd'
php -m
알 수 있듯이 목록에 mbstring이 있습니다. 그리고 또한 sudo apt-get install php-mbstring을 수행했습니다. 아무것도 업데이트하지 않았습니다. 내 PHP 버전은 7.0.25이며 Ubuntu 16.04 64 Bit를 사용합니다. 누구든지 문제를 해결하는 방법을 알 수 있습니까?
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/mbstring.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/mbstring.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/mbstring.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
enchant
exif
fileinfo
filter
ftp
gd
gettext
gmagick
gmp
hash
iconv
imagick
imap
intl
json
ldap
libxml
mbstring
//more
-
답변 # 1
-
답변 # 2
실행중인 것은 경로에 존재하지 않는 패키지를 찾는 것입니다 (mbstring.so는 "mbstring 공유 객체"를 의미하며 리눅스 라이브러리가됩니다) ).
실제로 mbstring이 설치되어 있는지 확실하지 않습니다.
다음을 실행하여 설치해야하는 것이 있는지 확인할 수 있습니다.
$ sudo apt-cache search mbstring
나를 위해 :
php-mbstring - MBSTRING module for PHP [default] php-patchwork-utf8 - UTF-8 strings handling for PHP php-symfony-polyfill-mbstring - Symfony polyfill for the Mbstring extension php-symfony-polyfill-util - Symfony utilities for portability of PHP codes php7.1-mbstring - MBSTRING module for PHP
그런 다음 mbstring 패키지 중 하나를 설치하고 우리가 얻는 것을 알려주십시오.
관련 자료
- 분기 된 프로세스에 "요청"하는 것과 다른 동적 라이브러리를 어떻게 "제공"할 수 있습니까?
- javascript - 엔드 포인트 API는 허용 된 IP에서 가져와야하므로 AWS 고정 IP를 통해 동적 IP 웹 페이지에서 http 요청을 어떻게 실행합니까?
- Apache Atlas로 샘플 데이터를 가져올 수 없음
- Jmeter에서 하나의 http 요청에서 다른 요청으로 동적 값을 전달하는 방법
- 사용 가능한 동적 인벤토리 - group_vars를 사용할 수 없음
- c++ - 서수 3283을 동적 링크 라이브러리 libmysqldll에 찾을 수 없습니다
- coq - 오류 : 라이브러리 coqextraction을 찾을 수 없습니다
- java - Apache POI를 사용하여 Excel을 읽을 수 없습니다
- Apache Atlas Classification을 삭제할 수 없습니다
- Vuejs에서 작동하는 동적 CSS를 가져올 수 없습니다
- LDAP Pooled Connection from Apache Java Library - apache java 라이브러리에서 ldap 풀 연결 - 바인딩을 해제해야합니까?
- coq 라이브러리를 찾을 수 없음 - `오류 : 라이브러리 floats를 찾을 수 없습니다 `
- java - Apache Camel을 사용하여 바코드를 읽을 수 없습니다
- java - Apache Derby 용 JDBC 드라이버를로드 할 수 없습니다
- javascript - 400 년 - nodejs/got 라이브러리로 get 요청을 보낼 때 잘못된 요청 '
- r - ggstatsplot 라이브러리를로드 할 수 없습니다
- informatica - 통합 서비스 시작시 "저장소 콘텐츠가 없기 때문에 요청을 처리 할 수 없습니다"
- java - Internet Explorer의 동적 웹 테이블 내 드롭 다운에서 값을 선택할 수 없습니다
/usr/local/lib/php.ini 파일에 빈 "extension ="줄이 있는지 확인하십시오 :
기본적으로, 연장선은 등호 뒤에 내용이 없습니다. 이러한 줄이 존재하면 빈 확장 줄을 주석 처리하고 Apache를 다시 시작하십시오.
참고 : cPanel forum