最重要的還是 error.log ,一邊裝一邊看 apache 給你什麼 error.log。
我只看過你第一次的 error.log,他是找錯了目錄。之後呢?當你改設定,後有再檢查 error.log 有給任何的訊息嗎?如果 Apache 沒有那些訊息,那很難幫你找到問題。
你說你在 RHEL 與 Feodora 都有安裝成功,能請你作個對照組嗎:
1. PHP Extension 有沒有不一樣
2. PHP.ini 設定 有沒有不一樣
3. Apache httpd.conf 有沒有不一樣
這樣一步一步抽絲剝繭才能找到原因。
Mark
已經重新上傳了 .zip 的和 .gz 的檔案 ! 然後分別執行其中的 wizard.php
Apache 的 log 檔如以下 !
[Tue Sep 13 02:49:24 2005] [notice] child pid 763 exit signal Segmentation Fault (11)
[Tue Sep 13 02:49:32 2005] [notice] child pid 568 exit signal Segmentation Fault (11)
[Tue Sep 13 02:50:32 2005] [notice] child pid 569 exit signal Segmentation Fault (11)
[Tue Sep 13 02:50:34 2005] [notice] child pid 760 exit signal Segmentation Fault (11)
[Tue Sep 13 02:50:36 2005] [notice] child pid 761 exit signal Segmentation Fault (11)
[Tue Sep 13 02:50:42 2005] [notice] child pid 762 exit signal Segmentation Fault (11)
至於 php的資料分別是
http://www.csie.leader.edu.tw/test.php <= 可以正常安裝 plog 的 RHCE
http://dark-circles.us/test.php <= 一直無法顯示網頁的 Sun Solaris 10
一看發現差很多 ~ 但不知怎改善 !
另外像在編譯如果加上 gd 時一直出現
有點怪怪的
如果我是按照小紅帽技術論壇裡 安裝完 Solaris 後的下一步做的
./configure --prefix=/usr/local/php \
--with-apxs=/usr/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-gd=/usr/local/gd1.3 \
--enable-track-vars \
--enable-memory-limit=yes \
--enable-debug=no
make 時會出現如下的錯誤
/bin/sh libtool --silent --mode=compile gcc -I/usr/local/gd1.3/ -
Iext/gd/ -I/usr/local/php-4.3.0/ext/gd/ -DPHP_ATOM_INC -
I/usr/local/php-4.3.0/include -I/usr/local/php-4.3.0/main -
I/usr/local/php-4.3.0 -I/usr/local/php-4.3.0/Zend -
I/usr/local/gd1.3/ -I/usr/local/mysql/include -I/usr/local/php-
4.3.0/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=2100 -
DMOD_SSL=208122 -DMOD_PERL -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_SO_LINGER -
DHARD_SERVER_LIMIT=2048 -DSSL_EXPERIMENTAL_PERDIRCA_IGNORE -
DSSL_EXPERIMENTAL_PROXY_IGNORE -I/usr/local/php-4.3.0/TSRM -g -O2 -
prefer-pic -c /usr/local/php-4.3.0/ext/gd/gd.c -o ext/gd/gd.lo
In file included from /usr/include/sys/wait.h:24,
from /usr/local/php-4.3.0/ext/gd/gd.c:40:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from /usr/local/php-4.3.0/ext/gd/gd.c:40:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/local/php-4.3.0/ext/gd/gd.c:40:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
make: *** [ext/gd/gd.lo] Error 1
但是改成
./configure --prefix=/usr/local/php \
--with-apxs=/usr/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--enable-memory-limit=yes \
--enable-debug=no
就又可以成功編譯
不過我真的有照上面所說的先 make gd1.3
也有出現跟文章內所說的訊息一樣
有可能是什麼原因呢 ?
謝謝