數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2008-04-20 18:10:42

spps
新生
註冊日期: 2008-04-20
文章數: 1
目前積分 :   

WL500g Deluxe 如何 php綱頁何服 能附圖解?

各位大大們 WL500g Deluxe 想架 php綱頁何服  有無詳細教學嗎
安裝好後該如何開啟 AppServ頁面嗎 謝謝




離線

 

#2 2008-04-20 19:33:48

Aven
天使
來自: 數位天堂
註冊日期: 2007-07-15
文章數: 2266
網站

Re: WL500g Deluxe 如何 php綱頁何服 能附圖解?

spps 提到:

各位大大們 WL500g Deluxe 想架 php綱頁何服  有無詳細教學嗎
安裝好後該如何開啟 AppServ頁面嗎 謝謝

本站採用lighttpd + fastcgi,這部份可以參考 Abin 兄的文件:
http://abintech.azhai.org/2007/01/php-l … stcgi.html




技術問題請於論壇上集眾人之力公開討論,感恩 thankgod

離線

 

#3 2008-05-04 20:10:32

igotcha
新生
註冊日期: 2008-03-31
文章數: 18
目前積分 :   

Re: WL500g Deluxe 如何 php綱頁何服 能附圖解?

lighttpd + FastCGI的配置,由于版本和Abin同学时不一样了,如果按照原来的步骤配置会出现如下问题:
            2008-04-03 03:25:53: (configfile.c.885) source: cat /opt/etc/lighttpd/conf.d/*.conf line: 15 pos: 1 parser failed somehow near here: (EOL)
            2008-04-03 03:25:53: (configfile.c.885) source: /opt/etc/lighttpd/lighttpd.conf line: 338 pos: 1 parser failed somehow near here: (EOL)
其实这个问题很好解决:
            nano /opt/etc/lighttpd/lighttpd.conf后:
           
            ## bind to port (default: 80) -> 改 port
            server.port                = 8080
            ## server.virtual-* options -> 改 Web 檔案目錄
            server.document-root       = "/opt/public/www/"
            #### accesslog module -> 改 log 檔路徑檔名
            accesslog.filename         = "/opt/var/log/lighttpd_access.log"
            ## where to send error-messages to
            server.errorlog            = "/opt/var/log/lighttpd_error.log"
           
            再:nano /opt/etc/lighttpd/conf.d/10-php-fcgi.conf
            server.modules += ( "mod_fastcgi" )
            fastcgi.server             = ( ".php" =>
                                                        ((
                                                            "host" => "127.0.0.1",
                                                            "port" => 1026,
                                                        ))
                                                   )


離線

 

#4 2008-05-14 22:57:16

eiki
精靈
註冊日期: 2007-10-31
文章數: 45
目前積分 :   

Re: WL500g Deluxe 如何 php綱頁何服 能附圖解?

igotcha 提到:

lighttpd + FastCGI的配置,由于版本和Abin同学时不一样了,如果按照原来的步骤配置会出现如下问题:
            2008-04-03 03:25:53: (configfile.c.885) source: cat /opt/etc/lighttpd/conf.d/*.conf line: 15 pos: 1 parser failed somehow near here: (EOL)
            2008-04-03 03:25:53: (configfile.c.885) source: /opt/etc/lighttpd/lighttpd.conf line: 338 pos: 1 parser failed somehow near here: (EOL)
其实这个问题很好解决:
            nano /opt/etc/lighttpd/lighttpd.conf后:
           
            ## bind to port (default: 80) -> 改 port
            server.port                = 8080
            ## server.virtual-* options -> 改 Web 檔案目錄
            server.document-root       = "/opt/public/www/"
            #### accesslog module -> 改 log 檔路徑檔名
            accesslog.filename         = "/opt/var/log/lighttpd_access.log"
            ## where to send error-messages to
            server.errorlog            = "/opt/var/log/lighttpd_error.log"
           
            再:nano /opt/etc/lighttpd/conf.d/10-php-fcgi.conf
            server.modules += ( "mod_fastcgi" )
            fastcgi.server             = ( ".php" =>
                                                        ((
                                                            "host" => "127.0.0.1",
                                                            "port" => 1026,
                                                        ))
                                                   )

貌似我改的最新的WL-520GU的时候都用最新的IPKG套件没有你说的这个问题嘛


離線

 

相關討論主題

主題 回覆 點閱 最後發表
這個主題已經關閉
22 80923 2009-07-19 16:07:29 作者 duke188
這個主題已經關閉
9 33799 2009-07-14 22:14:15 作者 Aven
這個主題已經關閉
[團購] ASUS WL-500g Deluxe Part II 作者 Aven  [ 1 2 3 ]
20 67167 2009-06-17 18:29:38 作者 Vic
這個主題已經關閉
[團購] ASUS WL-500g Deluxe 作者 Aven  [ 1 2 3 ]
21 71590 2009-06-08 19:15:09 作者 Aven
1 12827 2008-12-11 12:18:28 作者 hippo

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed