SSL을 이용하여 웹서버를 구축하려고 하는데 오류가 뜨네여..

이번에 SSL을 이용한 웹서버를 구축하려고 하는데여....
mysql 을 연동해서 돌릴려구 하는데 php를 컴파일할때 제가 이런 옵션을
줬었습니다..
./configure --prefix=/usr/local/php
--with-openssl=/usr/local/ssl
--with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/db/mysql
--with-imap=/usr/local/imap --with-gd=/usr/local/gd
--with-gd-native-ttf --with-jpeg-dir=/usr/local/jpeg
--with-freetype-dir=/usr/lib --with-png-dir=/usr/local/libpng
--with-zlib-dir=/usr/local/zlib --enable-track-vars
--enable-magic-quotes --with-language=korean
--with-charset=euc_kr --disable-debug --with-xml
--enable-mailparse --enable-ftp --enable-inline-optimization
근데 컴파일하는데서 오류가 뜹니다..
checking for MySQL support... yes
configure error Cannot find header files under /db/mysql
그래서 mysql에 있는 헤더파일이 있는 경로를 설정해주었는데도 자꾸
그 에러가 뜨네여..ㅠ.ㅜ 이건 왜 그런건가여?
헤더파일(*.h)이 있는곳이 /usr/local/mysql/include인데 그곳도 안되네
여...
고수님의 많은 도움 부탁합니다..
Re: SSL을 이용하여 웹서버를 구축하려고 하는데 오류가 뜨네여.
--with-mysql은 mysql디비경로가 아니라 mysql을 소스로 설치하셨을때..
prefix로 주셨던 경로를 적어주시면 됩니다..
혹은 --with-mysql만 적어주셔도 됩니다 PHP4부터는 PHP컴파일에 필요한
mysqlclient모듈을 내장하고 있는거 같더군요..하지만 버전은 낮습니
다..)
어째튼 mysql을 설치할때 prefix에 붙여준 경로을 적어주세요..)
댓글 달기