In addition to eAccelerator I found a tool that can accelerate for the PHP. However the person who use it less apparently. Install it also easily. But you must install php-devel befor. Because we will use phpize later. The suggestion of the official website, if you use php 4 and you want to use 1.03 edition as follows;You use php5 above and you better went to use 1.20-rc1 edition 1.03(stable):http://210.51.190.228/pub/XCache/Releases/xcache-1.0.3.tar.gz 1.20-rc1(newest):http://210.51.190.228/pub/XCache/rc/1.2.0-rc1/xcache-1.2.0-rc1.tar.gz #cd /usr/local/src #wget http://210.51.190.228/pub/XCache/rc/1.2.0-rc1/xcache-1.2.0-rc1.tar.gz #tar zxvf xcache-1.2.0-rc1.tar.gz #cd xcache #phpize // use phpize to create configure file. #./configure --enable-xcache --enable... #make #make install #cat xcache.ini >> /etc/php.ini #$EDITOR /etc/php.ini //alter xcache settings to what you want and don't forget Xcache also has Web UI: Copy the directory "admin" to you web root. Maybe you create a directory for Xcache's admin. #mkdir /your/webroot/xcache #cp -R admin/ /your/webroot/xcache/ # $EDITOR /etc/php.in Alter the username and password to what you want. [xcache.admin] --------------------------------------------------------------------------------
Reatart you web server and connect your Xcache admin URL. ^^
除了eAccelerator之外,我又發現一套可以為php加速的工具,但是似乎欲的人比較少了些。 這套名字叫做Xcache安裝也是同樣簡單,只是前提是要先安裝php-devel,因為後面會用到phpize這個指令。 依據官方網站的建議,如果是php4以下的要用1.03版本,php5以上請使用1.20-rc1的版本 1.03版(stable):http://210.51.190.228/pub/XCache/Releases/xcache-1.0.3.tar.gz 1.20-rc1版(newest):http://210.51.190.228/pub/XCache/rc/1.2.0-rc1/xcache-1.2.0-rc1.tar.gz #cd /usr/local/src #wget http://210.51.190.228/pub/XCache/rc/1.2.0-rc1/xcache-1.2.0-rc1.tar.gz #tar zxvf xcache-1.2.0-rc1.tar.gz #cd xcache #phpize // 使用 phpize 產生configure檔。 #./configure --enable-xcache --enable... #make #make install #cat xcache.ini >> /etc/php.ini #$EDITOR /etc/php.ini Xcache 也有網頁控制介面: 把Xcache裡的admin這整個資料夾複製到你的網頁根目錄裡面,也許你會新增一個資料夾來放置。 #mkdir /your/webroot/xcache #cp -R admin/ /your/webroot/xcache/ # $EDITOR /etc/php.in //修改php.ini裡的xcache的帳號密碼,密碼要填上MD5碼。 [xcache.admin] --------------------------------------------------------------------------------
重新啟動網頁伺服器,然後連上你的Xcache admin的URL。收工!輕輕鬆鬆!^^
|
http://www.sitemapdoc.com/Default.aspx
This website can support us to create google sitemap for free.
And I also use it to test the URLs of my site that whether have the link mistake or not. ^^
http://www.sitemapdoc.com/Default.aspx
這個網站可以免費製作google sitemap,我也用它來測試我的URL是否有錯誤或找不到目標的情形!^^







