728x90

PHP-FPM 환경설정 테스트를 위해 PHP-FPM 설정 옵션을 제거하고 나서

Apache 서버에서 접속하니까 아래와 같은 메시지가 나온다.

 

Warning: require_once(): open_basedir restriction in effect. File(/var/www/config.php) is not within the allowed path(s): (/var/www/html) in /var/www/html/loginView.php on line 11

Warning: require_once(/var/www/config.php): failed to open stream: Operation not permitted in /var/www/html/loginView.php on line 11

Fatal error: require_once(): Failed opening required '.././config.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/loginView.php on line 11

 

3Tier 구조에서 PHP-FPM 설치 옵션을 제거하면 3Tier 로 동작되는지 여부를 확인하기 위해서 해봤다.

반드시 PHP-FPM 을 설치해줘야만 3 Tier 구조로 동작이 된다는 것을 확인했다.

블로그 이미지

Link2Me

,