2010년 2월 7일 일요일

[PHP 설치][MYSQL] PHP 5.2.0 설치시 MySQL 문제

PHP 5.2.0 이 나왔다. ChangeLog 를 보니 버그 픽스도 많이 되었고, 성능 개선도 많이 되었길래 테스트해볼려고 설치하는데 다음과 같은 에러메시지가 나왔다.

configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!


위와 같은 에러가 나는 이유는 Apache 가 Thread 모드로 설치되어있으나, MySQL 은 Thread Safe 옵션을 주지 않았기 때문이다. 이 경우에는 MySQL 을 컴파일할 때 다음 옵션을 줌으로서 해결할 수 있다.

--enable-thread-safe-client


출처]  티로의 블로그[http://teeroz.tistory.com/9]

1 개의 댓글:

  1. trackback from: PHP - 한글도메인 punycode 컨버팅
    idna_convert.class.php 위 파일을 다운로드 한후 아래코드 삽입후 실행 function getPunyCode($url) { require_once('idna_convert.class.php'); $IDN = new idna_convert(); $encoded = $IDN->encode(iconv('euc-kr', 'utf-8', $url[0])); return $encoded; } $pattern = '|http\:\/\/[a-zA-..
    답글삭제