먼저 에러메세지입니다.
아파치 실행시 나옵니다.
Syntax error on line 241 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: gs
s_mech_krb5 /usr/local/apache/bin/apachectl start: httpd could not be started
mysql 버전(3.23.33)
apache 버전(1.3.17)
php 버전(4.0.4)
설치순서는 mysql 설치후 apache 설치후 php 설치했습니다.
[mysql 스크립트]
FLAGS="-06 -fomit-frame-pointer"
CXXFLAGS="-06 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtt
i"
./configure --prefix=/usr/local/mysql
--localstatedir=/usr/local/mysql/data
--enable-assembler
--mandir=/usr/local/man
--with-charset=euc_kr
[apache 스크립트]
./configure --prefix=/usr/local/apache
--enable-module=all
--enable-shared=max
--disable-rule=WANTHSREGEX
--disable-module=auth_dbm
--disable-module=auth_db
--with-perl=/usr/bin/perl
--enable-suexec
--suexec-caller=nobody
[php 스크립트]
CFLAGS="-fPIC" ./configure --prefix=/usr/local/apache
--with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/apache/conf
--with-mysql=/usr/local/mysql
--with-imap=/usr
--with-gd=/usr/local/gd
--with-config-file=/usr/local/lib
--with-ftp
--enable-inline-optimization
--enable-versioning
--enable-safe-mode
--with-exec-dir=/usr/bin
--with-system-regex
--enable-sigchild
--with-language=korean
--with-charset=euc_kr
--disable-debug
--enable-debugger
--enable-magic-quotes
--enable-sysvsem
--enable-sysvshm
--enable-track-vars--서명 없음! 나중에 생기면..