[centos]APM 설치 1 -APM 이란
[centos]APM 설치 2 - 설치하기전 필요 패키지 설치
[centos]APM 설치 3 - mysql 5.7 설치
[centos]APM 설치 4 - apache 2.4.7 설치
[centos]APM 설치 5 - php 5.3.28 설치
[centos]APM 설치 6 - 설시치 문제점 해결책
php 장애시
date
Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Seoul' for 'KST/9.0/no DST' instead in /usr/local/apache/htdocs/phpinfo.php on line 2
해결책: 위와 같은 오류 내역발생시 php.ini 수정을 해야합니다.
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = 'Asia/Seoul' <----해당 내역을 수정
mysql 설치후 패스워드 지정이 되지 않을때
해결책: safe모드로 mysql 접속후 패스워드를 지정하면된다.
# /usr/local/mysql/bin/mysqld_safe --skip-grant &
> use mysql;
> update user set password=password('test12#$') where user='root';
> flush privileges;
[error] Cannot find MySQL header files under yes
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
-------------------------------------------------------------
[해결]
# yum install mysql-devel
설치시해당에러코드가나온다면해결법으로설치를진행하도록한다.
make: warning: Clock skew detected. Your build may be incomplete.
시간을 동기화 시킨다.
checking for termcap functions library... configure: error: No curses/termcap library found
해결책 : # yum -y install ncurses-devel
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
해결책 : # yum -y install gcc-c++
/usr/lib/libdb-4.3.so: could not read symbols: File in wrong format
/usr/lib/libexpat.so: could not read symbols: File in wrong format
해결책 : # mv /usr/lib/libexpat.so /usr/lib/libexpat.so.bak
# ln -s /lib64/libexpat.so.0.5.0 /usr/lib/libexpat.so
# mv /usr/lib/libdb-4.3.so /usr/lib/libdb-4.3.so.bak
# ln -s /lib64/libdb-4.3.so /usr/lib/libdb-4.3.so
에러의 원인은 64비트 환경에서 32비트용 소스를 가져다가 설치하기 때문이다. 컴파일 도구와 관련된 심볼릭 링크 파일을 찾지 못한다고 나오고 있다.
configure: error: Unable to locate gmp.h
해결책 : # yum -y install gmp*
configure: error: not found. Please reinstall the expat distribution.
해결책 : # yum -y install expat*
configure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/
해결책 : # yum -y install curl* 또는 yum -y install curl & yum -y install curl-devel
configure: error: Please reinstall libmcrypt -I cannot find mcrypt.h <br>
configure: error: Please reinstall libmhash -I cannot find mhash.h
해결책 : # yum install libmcrypt libmcrypt-devel libmhash libmhash-devel
Configure: error: xml2-config not found. Please check your libxml2 installation
해결책 : #yum install libxml2-devel
Checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
해결책 : #yum install openssl-devel
Configure: error: Please reinstall the BZip2 distribution
해결책 : # yum install bzip2-devel
Configure: error: libjpeg.(also) not found.
해결책 : # yum install libjpeg-devel
Configure: error: libpng.(also) not found.
해결책 : yum install libpng-devel
Configure: error: freetype.h not found.
해결책 : #yum install freetype-devel
Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
해결책 : # yum install mysql-devel
Configure: error: Please reinstall the ncurses distribution
해결책 : # yum install ncurses-devel
Checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!
해결책 : # yum install unixODBC-devel
Configure: error: Cannot find pspell
해결책 : # yum install pspell-devel
Configure: error: snmp.h not found. Check your SNMP installation.
# yum install net-snmp-devel
'리눅스 > centos' 카테고리의 다른 글
[centos]lsync 설치 (0) | 2014.03.12 |
---|---|
[centos]실행 권한없는 tmp 파티션 만들기 (0) | 2014.03.12 |
[centos]APM 설치 5 - php 5.3.28 설치 (2) | 2014.03.11 |
[centos]APM 설치 4 - apache 2.4.7 설치 (4) | 2014.03.11 |
[centos]APM 설치 3 - mysql 5.6 설치 (1) | 2014.03.11 |