php를 환경설정하는 부분(page 476)에서 다음과 같은 경고문이 나왔습니다. 그래서 그다음
을 실행하니 컴파일할때 에러가 났습니다. [root@localhost php]# ./configure --with-apache=/usr/local/apa
che --with-mysql=/usr/local/mysql --with-zlib=/usr 중간생략
***WARNING***
You chose to compile PHP with the built-in mysql support. If you are compiling a server module, and intend to use other
server modules that also use mysql (e.g, mod_auth_mysql, PHP 3.0, mod_perl) you must NOT rely on PHP's built-in mysql su
pport, and instead buind it with your local mysql support files, by adding --with-mysql=/path/to/mysql to your configure
line License:중간생략 Thank you for using PHP
그다음 단계로 넘어가서 아래와 같은 에러가 생겼습니다.
[root@localhost php]# make
Making all in Zend
make[1]: 들어감 '/usr/local/php/Zend'디렉토리
make[1]: *** 목표 'all'를 만들 규칙이 없음. 나감
make[1]: 나감 '/usr/local/php/pear'디렉토리
make : *** [all-recurisive]오류
어디서 부터 잘못된건지 모르겠습니다.
참고로 mysql의 데몬을 실행할때 safe mysqld 가 실행이 안되어서 애먹었는데..
./bin/safe_mysqld --user-root& 라고 입력하니 실행이 됐습니다.
그전에 chown R 명령으로 권한을 mysql로 바꿔서 --user-mysql &를 해보았으나 안되었습니다.그래
서 root 계정으로 실행하니 되더군요.. 혹시 여기서 부터 잘못한건지....
어디서 부터가 잘못된건지 모르겠습니다. 자세한 설명을 부탁드립니다..