iconv...
------------------------------------------
0. php디렉토리에서..
PHP 재컴파일 할 경우
config.cache 파일 지우라 !
make clean
##rm -rf php
1. 기존의 /usr/local/php-4.3.2 을 없애고, 새로이..
##mv /usr/local/php-4.3.2 /usr/local/php-4.3.2____old
##tar zxvf php-4.3.2....
2. 설정
[14:17:20 Mon Dec 22 [root@myCom ~]# cd /usr/local/apache_1.3.22/
[14:17:47 Mon Dec 22 [root@myCom /usr/local/apache_1.3.22]# ./configure
[14:17:58 Mon Dec 22 [root@myCom /usr/local/apache_1.3.22]# cd ../php-4.3.2/
[14:18:22 Mon Dec 22 [root@myCom /usr/local/php-4.3.2]# ./configure --with-apache=/usr/local/apache_1.3.22 --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/apache_1.3.22/conf --with-exec-dir=/usr/local/apache_1.3.22/bin --with-enable-track-vars=yes --enable-ftp --enable-sockets --enable-sysvsem=yes --enable-sysvshm=yes --enable-shmop --enable-gd-native-ttf --enable-mailparse --with-gd=/usr/local/gd-2.0.1 --with-zlib --with-zlib-dir=/usr/lib --with-jpeg --with-jpeg-dir=/usr/lib --with-png --with-png-dir=/usr/lib --with-iconv
[14:19:37 Mon Dec 22 [root@myCom /usr/local/php-4.3.2] make; make install
[14:19:37 Mon Dec 22 [root@myCom /usr/local/php-4.3.2]# cd ../apache_1.3.22/
[14:19:40 Mon Dec 22 [root@myCom /usr/local/apache_1.3.22]# ./bin/apachectl stop
[14:19:40 Mon Dec 22 [root@myCom /usr/local/apache_1.3.22]# ./configure --prefix=/usr/local/apache_1.3.22/ --activate-module=src/modules/php4/libphp4.a
[14:19:40 Mon Dec 22 [root@myCom /usr/local/apache_1.3.22]# make; make install
[14:20:06 Mon Dec 22 [root@myCom /usr/local/apache_1.3.22/bin]# ./apachectl start
------------------------------------------
'인터넷정보' 카테고리의 다른 글
PHP로 사용용량, 남은용량 알아내기 (0) | 2007.10.16 |
---|---|
gd 추가하기 (0) | 2007.10.16 |
gd 추가하기 (0) | 2007.10.16 |
php 재컴파일시.. make distclean (0) | 2007.10.16 |
php 재컴파일시.. make distclean (0) | 2007.10.16 |
iconv 함수 사용가능토록 (0) | 2007.10.16 |
get_magic_quotes_gpc() (0) | 2007.10.16 |
get_magic_quotes_gpc() (0) | 2007.10.16 |
table_sql 을 엑셀파일로 다운받기. (0) | 2007.10.16 |
table_sql 을 엑셀파일로 다운받기. (0) | 2007.10.16 |