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] error: You have to install PHP gettext extension! [웹 브라이저] Error: You have to install PHP gettext extension! 해결 PHP 컴파일 시 --with-gettext 옵션 추가 후 재컴파일 한다. 더보기 [PHP][ERROR] php configure error configure: error: DBA: Could not find necessary header file(s). [해결] yum install gdbm-devel configure: error: not found. Please reinstall the expat distribution. [해결] yum install expat-devel 더보기 [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 다음