cd /usr/local/src
tar zxvf php4.3.0-devel.tar.gz
cd /usr/local/src/php4
./buildconf
./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-apache-install=/usr/local/src/httpd-2.0.36--with-mysql=/usr/local/mysql
--with-language=korean
--with-charset=euc_kr
--enable-track-vars=yes
--enable-ftp
--enable-modules=so
--disable-debug
make
make install
php를 컴파일하기전까지는
[root@blu2s2a httpd-2.0.36]# ps -aux | grep apache
root 10486 0.3 0.7 3844 1724 ? S 19:20 0:00 /usr/local/apache
nobody 10487 0.0 0.7 3856 1732 ? S 19:20 0:00 /usr/local/apache
nobody 10488 0.0 0.7 3856 1732 ? S 19:20 0:00 /usr/local/apache
nobody 10489 0.0 0.7 3856 1732 ? S 19:20 0:00 /usr/local/apache
nobody 10490 0.0 0.7 3856 1732 ? S 19:20 0:00 /usr/local/apache
nobody 10491 0.0 0.7 3856 1732 ? S 19:20 0:00 /usr/local/apache
root 10493 0.0 0.2 2656 660 pts/2 S 19:20 0:00 grep apache
이렇게 데몬이 잘뜸니다~~
아그리고 apache 컴파일은 이렇게했습니다...
cd /usr/local/src
tar zxvf httpd-2.0.36.tar.gz
cd /usr/local/src/httpd-2.0.36
./configure --prefix=/usr/local/apache
--enable-rule=SHARED_CORE
--enable-shared=max
--enable-so
--enable-module=so
make
make install
php 컴파일만하면 왜 apache 데몬이 작동을 안하는걸까요 ㅠ.ㅠ
php가 잘몬될것일까요 ????
답변 부탁드립니다....--리눅수 화팅