歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 29, 2024, 03:04:56 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  wizard.php 無法顯示網頁 « 上篇主題 下篇主題 »
頁: 1 [2]
作者 主題: wizard.php 無法顯示網頁  (閱讀 33266 次)
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #15 於: 九月 12, 2005, 06:16:21 上午 »

最重要的還是 error.log ,一邊裝一邊看 apache 給你什麼 error.log。

我只看過你第一次的 error.log,他是找錯了目錄。之後呢?當你改設定,後有再檢查 error.log 有給任何的訊息嗎?如果 Apache 沒有那些訊息,那很難幫你找到問題。

你說你在 RHEL 與 Feodora 都有安裝成功,能請你作個對照組嗎:
1. PHP Extension 有沒有不一樣
2. PHP.ini 設定 有沒有不一樣
3. Apache httpd.conf 有沒有不一樣

這樣一步一步抽絲剝繭才能找到原因。

Mark
« 最後編輯時間: 九月 12, 2005, 09:52:11 上午 由 markwu » 已記錄

TonTon
新手見習
*
文章: 17


檢視個人資料 個人網站
« 回覆文章 #16 於: 九月 13, 2005, 03:11:59 上午 »

最重要的還是 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
也有出現跟文章內所說的訊息一樣

有可能是什麼原因呢 ?


謝謝

已記錄

OS : Sun Solaris 10 Update 1( Sun SPARC Blade 2500 )
Apache : 2.0.52   PHP : 5.0  Mysql : 5.0.16 Plog : 1.0.1
                                  安裝完成 . . .
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #17 於: 九月 13, 2005, 11:11:25 上午 »

mmm ... 所以之前  /plog-1.0.1.tar/wizard.php 那是假的錯誤訊息!

child pid 763 exit signal Segmentation Fault (11)

看起來像是直接這個 process 就死掉了。真是對不起,這還真沒有 idea 怎麼除錯。

另外,我注意到你是使用 4.3.0來編譯。可以去 www.php.net 下載新的 4.3.11 來編譯嗎?用 4.3.11 來試試。

我在猜是 php 本身的問題。可能要在程式中加一些 debug 訊息來除錯才行了。看他是錯在哪裡。要不然這樣沒機會找到問題。

Mark
已記錄

TonTon
新手見習
*
文章: 17


檢視個人資料 個人網站
« 回覆文章 #18 於: 九月 14, 2005, 02:51:31 上午 »

看樣子 !

真的要死心嘞

不止 Plog 連 CPG 要用的 ImageMagick 和 GD 都 Run 不起來

唉 ~ 難道真的要換平臺 ?
已記錄

OS : Sun Solaris 10 Update 1( Sun SPARC Blade 2500 )
Apache : 2.0.52   PHP : 5.0  Mysql : 5.0.16 Plog : 1.0.1
                                  安裝完成 . . .
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #19 於: 九月 14, 2005, 08:25:58 上午 »

看樣子 !

真的要死心嘞

不止 Plog 連 CPG 要用的 ImageMagick 和 GD 都 Run 不起來

唉 ~ 難道真的要換平臺 ?

你不夠認真唷! 傷心

用 google 搜尋 parse error before "ctid_t",你會找到一堆相關的討論,主要的原因是 solaris 的 gcc 的 hearder file 有問題,你必須去update 才行(update 也不一定 comiple 的起來),建議你到 solaris 的支援網站去詢問,應該比較有機會。

參考:
http://archives.postgresql.org/pgsql-bugs/2004-12/msg00255.php
http://mail.nessus.org/pipermail/nessus/2005-March/msg00276.html
http://mail-archives.apache.org/mod_mbox/httpd-users/200505.mbox/%3C428B8B67.4060200@oryx.cc%3E

這些是我剛剛用google 找的。

Mark
已記錄

TonTon
新手見習
*
文章: 17


檢視個人資料 個人網站
« 回覆文章 #20 於: 九月 14, 2005, 05:49:20 下午 »

看樣子 !

真的要死心嘞

不止 Plog 連 CPG 要用的 ImageMagick 和 GD 都 Run 不起來

唉 ~ 難道真的要換平臺 ?

你不夠認真唷! 傷心

用 google 搜尋 parse error before "ctid_t",你會找到一堆相關的討論,主要的原因是 solaris 的 gcc 的 hearder file 有問題,你必須去update 才行(update 也不一定 comiple 的起來),建議你到 solaris 的支援網站去詢問,應該比較有機會。

參考:
http://archives.postgresql.org/pgsql-bugs/2004-12/msg00255.php
http://mail.nessus.org/pipermail/nessus/2005-March/msg00276.html
http://mail-archives.apache.org/mod_mbox/httpd-users/200505.mbox/%3C428B8B67.4060200@oryx.cc%3E

這些是我剛剛用google 找的。

Mark

 嚎啕大哭 . . 我安慰一下自己啦 !

我挺不甘願就這樣放棄的 !

不過學校資訊組的老師也說不知道是啥原因 !

但補了一句 ~ 因為 函式庫的關係有很多東西在 Solaris 上是不能 Run 的

繼續努力試 !
已記錄

OS : Sun Solaris 10 Update 1( Sun SPARC Blade 2500 )
Apache : 2.0.52   PHP : 5.0  Mysql : 5.0.16 Plog : 1.0.1
                                  安裝完成 . . .
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #21 於: 九月 14, 2005, 07:57:36 下午 »

加油!沒有要你放棄啊!呵呵!如果真的架的起來,記得上來分享心得喔!

Mark
已記錄

TonTon
新手見習
*
文章: 17


檢視個人資料 個人網站
« 回覆文章 #22 於: 九月 18, 2005, 05:40:51 下午 »

 嚎啕大哭

唉 ~ 這幾天我前前後後試了 PHP5 和 PHP4

甚至多找了一臺新的 SPARC 的機器安裝了全新的 Solaris 10

結論是


一樣是無法顯示網頁 . . .
已記錄

OS : Sun Solaris 10 Update 1( Sun SPARC Blade 2500 )
Apache : 2.0.52   PHP : 5.0  Mysql : 5.0.16 Plog : 1.0.1
                                  安裝完成 . . .
james
LifeType 中文發展團隊
超級會員
*****
文章: 823


哼!!你不說,誰會知道你做過那些修改呢!? (丟滑鼠~~)


檢視個人資料 個人網站
« 回覆文章 #23 於: 九月 18, 2005, 11:23:55 下午 »

嚎啕大哭

唉 ~ 這幾天我前前後後試了 PHP5 和 PHP4

甚至多找了一臺新的 SPARC 的機器安裝了全新的 Solaris 10

結論是


一樣是無法顯示網頁 . . .

建議你試試看XAMPP這個套件看看.
它有for Solaris的版本.
http://nchc.dl.sourceforge.net/sourceforge/xampp/xampp-solaris-0.2.sh 這個版本的php是4.3.4的(但它的開發環境是Solaris 8在9測試過.)
你可以到http://www.apachefriends.org/en/xampp-solaris.html#225
或是XAMPP的討論區去看看.

James 微笑
已記錄

記得發問前,先使用搜尋功能找找看有沒相關的解答。
如果找不到,請依照如何在LifeType論壇發問來提問喔。
頁: 1 [2]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  wizard.php 無法顯示網頁 « 上篇主題 下篇主題 »
    前往: