Home 게시판 커뮤니티 Q&A 워드프레스 설치 오류 방화벽

1개 답변, 2 voices Last updated by Avatar of jimnongjimnong 5 years, 1 month 전
  • Avatar of sentiokimsentiokim
    Participant
    @sentiokim
    #54338

    워드프레스 첫 설치페이지로 진입이 되지 않습니다.

    일반 html 페이지 및 php 페이지 잘 표출됩니다. 다른 서버에서 워드프레스 설치해서 사용하고 있는데, 해당 서버에서 왜 안되는지 원인을 찾지 못하고 있습니다.

    1. 오류내용: wp-admin/install.php 접속 시 아래 메시지가 웹 상에 표출됨.

    Web firewall security policies that are contrary to the request / response has been blocked.

    2. 서버 정보

    • 운영체제: Centos 6
    • Apache:
      • 1) 버전 2.2
      • 2) yum install 사용, 설정이 잘못되었을까봐, 삭제 후 재설치함.
    • php: 7.3, 5.1
      • php는 어떤버전을 사용해도, 오류내용은 변화가 없음. 5.1은 yum install 사용, 7.3은 소스설치.
    • Mysql: 5.1
      •  yum install 사용.

     

    3. iptables  정보

    # lsof -i -nP | grep LISTEN | awk ‘{print $(NF-1)” “$1}’ | sort -u
    *:110 dovecot
    *:111 rpcbind
    127.0.0.1:631 cupsd
    *:143 dovecot
    [::1]:631 cupsd
    192.168.122.1:53 dnsmasq
    *:21 vsftpd
    *:22 sshd
    *:25 master
    *:3306 mysqld
    *:47246 rpc.statd
    *:50772 rpc.statd
    *:80 httpd

    4. 워드프레스 폴더권한 (사용자: apache, 그룹: apache, apache 사용자와 동일 )

    sudo find . -type f -exec chmod 664 {} +
    sudo find . -type d -exec chmod 775 {} +
    sudo chmod 660 wp-config.php

    Avatar of jimnongjimnong
    Participant
    @jimnong
    #54345

    제가 잘 모르긴 한데, 웹 방화벽 설정을 살펴보셔야 할 것 같습니다.

    아파치에서 phpmyadmin만 제대로 돌아가면 워드프레스도 문제 없이 돌아가는지라, 아파치/php에서는 문제 생길 가능성이 거의 없지 싶어요.

    그리고 여건 되시면 mysql 업그레이드 하시는 게 좋을 것 같아요.(워드프레스에는 mariadb 쓰니까 속도가 올라가더군요.)

    Avatar of jimnong
    티스토리 블로그 : http://jimnong.tistory.com
    워드프레스로 구축한 사이트 : https://www.sobi.tips
2 글 보임 - 1에서 2 까지 (총 2 중에서)
  • 답변은 로그인 후 가능합니다.