php 썸네일형 리스트형 PHP 5.2.8을 소스 파일로부터 컴파일하여 설치하는 방법 PHP 5.2.8을 소스 파일로부터 컴파일하여 설치하는 방법 1. 필수 패키지 설치 sudo yum install -y gcc make libxml2 libxml2-devel openssl openssl-devel bison flex 2. 소스 다운로드 3. 소스 코드 압축 해제 4. 컴파일 및 설치 ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-sysvshm=yes --enable-sysvsem=yes --enable-debug=no --with-ttf --with-png-dir=/usr --with-zlib-dir --with-jpeg-dir.. 더보기 PHP You have to install PHP gettext extension 오류 해결 방법 PHP You have to install PHP gettext extension 오류 해결 방법웹 브라우저에서 PHP 애플리케이션을 실행할 때 다음과 같은 오류가 발생할 수 있습니다.Error: You have to install PHP gettext extension!이 오류는 PHP에서 다국어 지원을 담당하는 gettext 확장이 활성화되지 않았기 때문에 발생합니다. 이를 해결하려면 gettext 확장을 설치하고 PHP에서 활성화해야 합니다.해결 방법1. 현재 PHP에서 gettext 확장 확인php -m | grep gettext2. gettext 확장 설치sudo apt updatesudo apt install -y php-gettext더보기---PHP 소스 컴파일 시 --with-gettext.. 더보기 PHP 빌드 에러 PHP 빌드 에러(configure 에러)1. DBA: Could not find necessary header file(s).configure: error: DBA: Could not find necessary header file(s).이 에러는 PHP가 DBA(데이터베이스 확장) 빌드를 시도할 때 필요한 gdbm 라이브러리 헤더 파일을 찾지 못해서 발생합니다. 해결 방법sudo yum install -y gdbm-devel2. Please reinstall the expat distribution.configure: error: not found. Please reinstall the expat distribution.이 에러는 XML 파싱을 담당하는 expat 라이브러리가 시스템에 없거나 헤더를 .. 더보기 [Cacti] cacti 설치1 APM 설치 1. apache 설치 # yum -y install httpd 2. mysqㅣ 설치 # yum -y install mysql mysql-server mysql-devel 3. 필요 라이브러리 설치 # yum -y install gd gd-devel libpng libpng-devel libjpeg libjpeg-devel freetype freetype-devel fontconfig fontconfig-devel libxml2 libxml2-devel openssl openssl-devel gmp gmp-devel mhash mhash-devel libmcrypt libmcrypt-devel 4. php 및 php-mysql 연동 설치 # yum -y install php php-mysql.. 더보기 [랜덤] 임의의 패스워드 생성 php 임의(랜덤)의 패스워드 생성 vim passwdcreate.php 더보기 PHP configure PHP configure(php-5.2.8)PHP 5.2.8 Release Announcementhttps://www.php.netPHP 5 ChangeLogPHP 5 ChangeLog : https://www.php.net/releases$ ./configure --helpUsage: configure [options] [host]Options: [defaults in brackets after descriptions]Configuration: --cache-file=FILE cache test results in FILE --help print this message --no-create do not create output file.. 더보기 [리눅스] APM 설치(MySQL, Apache, PHP) APM 설치(MySQL, Apache, PHP) 1. 필수 라이브러리 설치 $ yum -y install gd gd-devel libpng libpng-devel libjpeg libjpeg-devel freetype freetype-devel fontconfig fontconfig-devel libxml2 libxml2-devel openssl openssl-devel gmp gmp-devel mhash mhash-devel libmcrypt libmcrypt-devel ncurses-devel curl-devel gdbm-devel libtool libtool-ltdl-devel 2. MySQL 설치2.1 MySQL 계정 생성 $ useradd -m -c "MySQL Server" -d /usr/lo.. 더보기 PHP에서 기본 시간대를 설정하는 방법 PHP에서 기본 시간대를 설정하는 방법PHP Error 코드[Tue Jan 08 14:47:06 2013] [error] [client 10.0.10.102] PHP Warning: 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. .. 더보기 이전 1 2 3 4 5 다음