4/28/2011

加速 PHP網頁執行

eAccelerator是一套不錯開源PHP網頁加速器,基本原理將PHP程式事先編譯過快取起來,且同時將PHP程式進行優化,號稱可以提升~30%(速度是真的提升)。

官方說明

eAccelerator is a free open-source PHP accelerator & optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

4/13/2011

手動匯入Maven Local Repository

Sun 這個jai_imageio jar 似乎年代失修,一直找不到相對映的maven respo ,只能自行匯入本地儲存槽。

[code lang="shell"] mvn install:install-file -Dfile=jai-imageio-1.1.jar -DgroupId=javax.media -DartifactId=jai_imageio -Dversion=1.1 -Dpackaging=jar -DgeneratePom=true -DcreateChecksum=true [/code]

maven pom.xml設定加入

[code lang="xml"] javax.media jai_imageio 1.1 [/code]