웹마스터 팁

http://www.ihelpers.co.krMySQL 4.0 New Features

Application 속도 향상을 위한 Query Cache 기능 지원
Union 구문 지원
ACID transactions, foreign keys with cascading UPDATE and DELETE,row-level locking을
위한 MyISAM storage engine을 표준으로 제공한다.
기능이 강화된 FullText 검색기능 제공 ( 한글 사용 안됨 )


MySQL 4.1.3 New Features

Subqueries 와 Derived tables 지원
Prepared Statement과 Parameter Binding 지원을 위한 프로토콜 개선
Heap Tables에 BTREE Indexing 지원
Unicode 지원(utf8,ucs2 character sets)
다양한 언어를 사용하는 웹사이트를 위한 Database,Table,Column 별 Character Sets 정의
지리학적 자료 저장을 위한 OpenGis spatial types 지원
SSL 상에서의 Replication 지원

* MySQL 5.0에서는 View,Stored Procedures 기능 지원

http://dev.mysql.com/doc/mysql/en/Nutshell_4.0_features.html
http://dev.mysql.com/doc/mysql/en/Nutshell_4.1_features.html

PHP5.0 New Features

The Zend Engine II with a new object model and dozens of new features.
XML support has been completely redone in PHP 5, all extensions are now focused around the excellent libxml2 library (http://www.xmlsoft.org/).
A new SimpleXML extension for easily accessing and manipulating XML as PHP objects. It can also interface with the DOM extension and vice-versa.
A brand new built-in SOAP extension for interoperability with Web Services.
A new MySQL extension named MySQLi for developers using MySQL 4.1 and later. This new extension includes an object-oriented interface in addition to a traditional interface; as well as support for many of MySQL's new features, such as prepared statements.
SQLite has been bundled with PHP. For more information on SQLite, please visit their website.
Streams have been greatly improved, including the ability to access low-level socket operations on streams.



1. 프로그램 다운로드


MySQL - http://dev.mysql.com/downloads/
PHP5.0 - http://www.php.net/downloads.php#v5
Apache 2.0 - http://httpd.apache.org/
libxml2 - http://xmlsoft.org/
zlib - http://www.gzip.org/zlib/

* Apache 2.0 과 PHP5.0을 함께 사용시 쓰레드처리시에 문제점이 있으니 좀 더 안정화 된후에 운영서버에 적용하는것을 추천합니다.
* libxml2는 PHP 5.0의 새로운 XML API를 기본으로 지원한다.


2.libxml2 설치

$ tar xvfz libxml2-2.6.11.tar.gz
$ cd /tmp/libxml2-2.6.11
$ .../configure
$ make && make install


3.zlib 설치

$ tar xzvf zlib-1.2.1.tar.gz
$ cd /tmp/zlib-1.2.1
$ ../configure
$ make && make install


4.MySQL 설치( Binary Version )

라이센스 문제로 PHP 5.0에는 더이상 MySQL 클라이언트 라이브러리가 포함돼 있지 않기에 PHP 설치시에 추가 옵션( --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config )으로 설치해 주어야 합니다.

PHP 5.0은 ‘MySQLi(MySQL Improved)’라는 완전히 새로운 MySQL을 제공하며 MySQLi는 MySQL의 모든 새로운 기능을 지원하지만
현재는 베타인 MySQL 4.1.2 이후 버전에서만 사용가능하므로 운영서버 적용은 잘 고려하여 적용하십시요.


$ tar -xzvf mysql-standard-4.1.3-beta-pc-linux-i686.tar.gz
$ mv /tmp/mysql-standard-4.1.3-beta-pc-linux-i686 /usr/local/mysql
$ groupadd mysql                        // MySQL 사용자와 그룹 생성
$ useradd -g mysql mysql
$ /usr/local/mysql/scripts/mysql_install_db --user=mysql [/output]
$ chown -R root  /usr/local/mysql
$ chgrp -R mysql /usr/local/mysql
$ chown -R mysql /usr/local/mysql/data
$ /usr/local/mysql/support-files/ mysql.server start [/output]


5.Apache 2.0 ( Dynamic Module )


$ tar -xzvf httpd-2.0.50.tar.gz
$ cd /tmp/httpd-2.0.50
$ ../configure --prefix=/usr/local/apache2 --enable-so
$ make
$ make install


5.PHP 5.0 설치


$ tar -xzvf php-5.0.0.tar.gz
$ cd /tmp/php-5.0.0
$ ./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-zlib --with-zlib-dir=/usr/local/lib --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-gd --enable-soap --enable-sockets
$ make
$ make install

--with-apxs2 아파치 2.0과 익스텐션 관리에 필요한 apxs 스크립트의 경로
--with-mysql PHP 5.0은 4.0 버전과 달리 기본값이 비활성화된 상태
--with-mysqli MySQL 4.1.2 이상 버전에만 해당
--enable-soap SOAP과 웹서비스에 대한 지원 기능
옵션에 대한 목록 및 설명은 "$ ./configure -help" 으로 확인할 수 있습니다.


6. PHP 확장자 옵션 추가


$ vi /usr/local/apache2/conf/httpd.conf
AddType application/x-httpd-php .php
$ /usr/local/apache2/bin/apachectl restart

6. 설치 확인


$ vi $WEBHOME/phpinfo.php
<? phpinfo() ?>


http://domain/phpinfo.php 로 확인하시면 됩니다.

Reference - http://builder.com.com/5100-6374_14-5290304.html?tag=ft


From : http://www.ihelpers.co.kr
제목 글쓴이 날짜
winXP + APM + 제로보드 이용한 홈피제작(동영상강좌) [1] kim 2004.12.04
리눅스 서버 설치 후 APM 설치 및 제로보드 설치 또는 백업 후 복구 과정별 설명.. [1] 김기윤761 2004.11.25
공유기 환경에서 Serv-U 로 FTP 운영하기 [7] file 꿈바라기 2004.11.04
리눅스 네트워크 서버 및 웹서버 구축 방법을 강의 [10] 조영훈 2004.10.19
WINDOW에서 APM_SETUP 쓰시는 분들 Mysql 자동 백업하기 김수남 2004.10.15
사용자가 sh 명령어를 이용하여, 웹상에서 실행한번으로. 계정 백업하기 [3] 김동욱 2004.10.10
무단링크 방지설정 [12] 토토루 2004.10.09
도메인 주소에 www 자동으로 붙이기 [2] 토토루 2004.10.08
특정파일 엑세스 금지하기 [2] 토토루 2004.10.08
아파치 로그관리 팁이요 [4] 조정필 2004.10.01
[허접] turck-mmcache로 iis에서 php 빠르게하기 [3] file hanpedro 2004.09.23
(LAMPLinux,Apache,MySQL,PHP) 새로운 기능 및 설치 손상모 2004.09.15
[튜닝] apache에서 이미지 캐싱 처리(mod_expires) [1] 좋은진호 2004.09.02
DigiBBS 서버 이야기 2 - 서버 선택과 구매 박용구 2004.08.22
DigiBBS 서버 이야기 - IDC 방문 이야기 [2] 박용구 2004.08.22
sh명령어를 이용한 웹사이트 관리 김동욱 2004.08.09
명령수행 결과를 파일로 저장(초간단) [5] u2em 2004.08.02
윈도우즈용 메일서버 추천- NMail [3] u2em 2004.07.19
MySQL 백업과 복구 [11] u2em 2004.07.11
Windows 2003에서 유저.내아이디.dnip.net 셋팅 [3] u2em 2004.07.08