변군이글루

[ERROR] apache Syntax error 본문

및___APM

[ERROR] apache Syntax error

변군 변군이글루 2013.09.04 22:20

[ERROR] apache Syntax error

 

[root@cacti html]# /usr/local/apache2/bin/apachectl -t

httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

 

[해결방법]

# restorecon -v /usr/local/apache2/modules

# cd /usr/local/apache2/modules/

# restorecon -v libphp5.so

restorecon reset /usr/local/apache2/modules/libphp5.so context root:object_r:usr_t:s0->system_u:object_r:lib_t:s0

# chcon -t texrel_shlib_t libphp5.so

# /usr/local/apache2/bin/apachectl -t

Syntax OK

 

[SElinux]

/etc/selinux/config

SELINUX=disabled

 

 

 

 

'및___APM' 카테고리의 다른 글

[Mysql] mysql-bin.0000xx 바이너리 파일 생성  (0) 2013.09.10
[mysql] mysql 환견변수값  (0) 2013.09.08
[ERROR] apache Syntax error  (1) 2013.09.04
[PHP] php(php-5.2.8) 설치  (0) 2013.09.03
[Apache] apache(httpd-2.2.12) 설치  (1) 2013.09.03
[MySQL] mysql(mysql-5.0.44) 설치  (0) 2013.09.03
1 Comments
댓글쓰기 폼