2016-07-18 2 views
7

아파치 2를 설치했는데 정상적으로 작동합니다. PHP   7을 설치했고 모든 것이 잘 작동하지만 phpMyAdmin을 설치하면 Apache 2가 작동을 멈 춥니 다. Apache 2를 검사 할 때 기본 페이지도로드되지 않습니다.우분투 14.04 서버 : phpMyAdmin의 Apache2 문제

[email protected]:~# service apache2 restart 
* Restarting web server apache2                                 [fail] 
* The apache2 configtest failed. 
Output of config test was: 
Segmentation fault (core dumped) 
Action 'configtest' failed. 
The Apache error log may have more information. 

오류 로그가 있습니다 : 나는 아파치 2를 다시 시작하면

는 다음과 같은 오류가 다가와서

[Mon Jul 18 12:54:10.668017 2016] [mpm_event:notice] [pid 13665:tid 140077033654144] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Jul 18 12:54:10.668089 2016] [core:notice] [pid 13665:tid 140077033654144] AH00094: Command line: '/usr/sbin/apache2' 
[Mon Jul 18 12:54:23.642421 2016] [mpm_event:notice] [pid 13665:tid 140077033654144] AH00491: caught SIGTERM, shutting down 
[Mon Jul 18 12:54:24.689367 2016] [mpm_prefork:notice] [pid 14802] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Jul 18 12:54:24.689425 2016] [core:notice] [pid 14802] AH00094: Command line: '/usr/sbin/apache2' 
[Mon Jul 18 12:54:25.869852 2016] [mpm_prefork:notice] [pid 14802] AH00169: caught SIGTERM, shutting down 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xml.so' - /usr/lib/php/20151012/xml.so: cannot open shared object file: No such file o$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: cannot open shared object file: No such file o$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/simplexml.so' - /usr/lib/php/20151012/simplexml.so: cannot open shared object file: No$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/wddx.so' - /usr/lib/php/20151012/wddx.so: cannot open shared object file: No such file$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: cannot open shared object file: No$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlwriter.so' - /usr/lib/php/20151012/xmlwriter.so: cannot open shared object file: No$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: cannot open shared object file: No such file o$ 
[Mon Jul 18 12:54:26.942086 2016] [mpm_prefork:notice] [pid 14888] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Jul 18 12:54:26.942120 2016] [core:notice] [pid 14888] AH00094: Command line: '/usr/sbin/apache2' 
[Mon Jul 18 12:55:36.014664 2016] [:error] [pid 14891] [client 103.255.6.72:60140] script '/var/www/html/info1.php' not found or unable to stat 
[Mon Jul 18 12:56:38.672883 2016] [mpm_prefork:notice] [pid 14888] AH00169: caught SIGTERM, shutting down 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xml.so' - /usr/lib/php/20151012/xml.so: cannot open shared object file: No such file o$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: cannot open shared object file: No such file o$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/simplexml.so' - /usr/lib/php/20151012/simplexml.so: cannot open shared object file: No$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/wddx.so' - /usr/lib/php/20151012/wddx.so: cannot open shared object file: No such file$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: cannot open shared object file: No$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlwriter.so' - /usr/lib/php/20151012/xmlwriter.so: cannot open shared object file: No$ 
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: cannot open shared object file: No such file o$ 
[Mon Jul 18 12:56:39.724500 2016] [mpm_prefork:notice] [pid 14954] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Jul 18 12:56:39.724533 2016] [core:notice] [pid 14954] AH00094: Command line: '/usr/sbin/apache2' 
[Mon Jul 18 12:57:41.945362 2016] [mpm_prefork:notice] [pid 14954] AH00171: Graceful restart requested, doing restart 
[Mon Jul 18 12:57:42.017483 2016] [mpm_prefork:notice] [pid 14954] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Jul 18 12:57:42.017497 2016] [core:notice] [pid 14954] AH00094: Command line: '/usr/sbin/apache2' 
[Mon Jul 18 12:57:42.610599 2016] [mpm_prefork:notice] [pid 14954] AH00169: caught SIGTERM, shutting down 
[Mon Jul 18 13:02:11.030749 2016] [mpm_prefork:notice] [pid 20227] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Jul 18 13:02:11.030808 2016] [core:notice] [pid 20227] AH00094: Command line: '/usr/sbin/apache2' 
[Mon Jul 18 13:05:14.256971 2016] [mpm_prefork:notice] [pid 20227] AH00169: caught SIGTERM, shutting down 
[Mon Jul 18 13:05:34.584056 2016] [mpm_prefork:notice] [pid 21762] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Jul 18 13:05:34.584096 2016] [core:notice] [pid 21762] AH00094: Command line: '/usr/sbin/apache2' 
[Mon Jul 18 13:08:45.103877 2016] [mpm_prefork:notice] [pid 21762] AH00171: Graceful restart requested, doing restart 
[Mon Jul 18 13:08:45.197300 2016] [mpm_prefork:notice] [pid 21762] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations 
[Mon Jul 18 13:08:45.197313 2016] [core:notice] [pid 21762] AH00094: Command line: '/usr/sbin/apache2' 
[Mon Jul 18 13:08:45.779038 2016] [mpm_prefork:notice] [pid 21762] AH00169: caught SIGTERM, shutting down 

내가 Ubuntu 14.04 (트러스티 Tahr)를 사용하고 있습니다.

+0

오류 로그를 확인해야합니다. /var/log/apache2/error.log로 이동하십시오. –

답변

0

문제는 아파치 2 제거하여 해결된다 :

sudo apt-get -y install phpmyadmin 

가 그럼 난 apache2을 설치

: 이것은 나를 위해 일한

sudo apt-get install apache2 
0

실행 터미널에서 다음 명령을

# phpMyAdmin Configuration 
Include /etc/phpmyadmin/apache.conf 

그런 다음 다시 시작 아파치 :

vim /etc/apache2/apache2.conf 

은 파일의 맨 아래에 다음을 추가

sudo service apache2 restart 
+0

이것은 작동하지 않습니다! – Gammer

26

:

내가 phpMyAdmin을 설치

sudo apt-get purge apache2 

0 그것은 일 :)))))

도 참조 apache2 segfault after update.

+1

방법이나 이유는 모르겠지만 솔루션은 저에게도 효과적이었습니다. – programmer

+2

나는 너를 사랑해! – anamritraj

+1

PHP 7.1이 이미 설치된 phpMyAdmin을 설치하려고했는데 php5로 이상한 일을 시도했습니다. (이 솔루션은 나를 위해 일했습니다.) –