Info
APM 설치기
카카루카
2006. 8. 9. 23:42
mysql-3.23.54a-pc-linux-i686
httpd-2.0.55
php-4.4.2
### mysql ###
Install with a binary version
### apache ###
./configure --prefix=/usr/local/apache --enable-module=so --enable-rewrite=shared
#Below option is 2.x version that someone said.
./configure --prefix=/usr/local/apache --enable-module=so
### php ###
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-mysql
--enable-track-vars
--disable-debug
--with-exec-dir=/usr/local/apache/bin
--with-config-file-path=/usr/local/apache/conf
--enable-calendar
--with-zlib
--enable-ftp
--with-xml
--with-mod-charset
--with-iconv
--with-language=korean
최근 설치
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/apache/conf --with-exec-dir=/usr/local/apache/bin --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-freetype=/usr/lib --enable-freetype-4bit-antialias-hack --with-language=korean --with-charset=utf-8 --enable-track-vars=yes --disable-debug --with-xml
--------------------------------------------------
[root@localhost src]# cp /usr/local/src/php-4.3.3/php.ini-dist /usr/local/lib/php.ini
다음은 httpd.conf 파일을 수정해 줍니다.(아파치 설치 후 ServerName 설정해 주시는 것 잊으면 안됩니다.)
[root@localhost src]# vi /usr/local/apache/conf/httpd.conf
-> DirectoryIndex index.html index.php index.phtml index.jsp
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php4 .php3 .html .htm .phtml .ph .php
AddType application/x-httpd-php-source .phps
테스트
httpd-2.0.55
php-4.4.2
### mysql ###
Install with a binary version
### apache ###
./configure --prefix=/usr/local/apache --enable-module=so --enable-rewrite=shared
#Below option is 2.x version that someone said.
./configure --prefix=/usr/local/apache --enable-module=so
### php ###
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-mysql
--enable-track-vars
--disable-debug
--with-exec-dir=/usr/local/apache/bin
--with-config-file-path=/usr/local/apache/conf
--enable-calendar
--with-zlib
--enable-ftp
--with-xml
--with-mod-charset
--with-iconv
--with-language=korean
최근 설치
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/apache/conf --with-exec-dir=/usr/local/apache/bin --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-freetype=/usr/lib --enable-freetype-4bit-antialias-hack --with-language=korean --with-charset=utf-8 --enable-track-vars=yes --disable-debug --with-xml
--------------------------------------------------
[root@localhost src]# cp /usr/local/src/php-4.3.3/php.ini-dist /usr/local/lib/php.ini
다음은 httpd.conf 파일을 수정해 줍니다.(아파치 설치 후 ServerName 설정해 주시는 것 잊으면 안됩니다.)
[root@localhost src]# vi /usr/local/apache/conf/httpd.conf
-> DirectoryIndex index.html index.php index.phtml index.jsp
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php4 .php3 .html .htm .phtml .ph .php
AddType application/x-httpd-php-source .phps
테스트