2006年12月28日 星期四

在PHP5.2.x下安裝pear

官方版的go-pear 執行會有問題 (Bug)
通常執行後會有一堆錯誤網站
據網路上找到的兩個解決方法如下
1.到g0-pear(http://go-pear.org/) 將該網頁存在本機apache下
















將檔案名稱存成 go-pear.php
執行 http://localhost/go-pear.php 他將會進入web介面的安裝步驟


將相關設定值檢查是否正確即可安裝 install


如此一來等待他安裝完成即可。

2.這個方法是
go to http://snaps.php.net/, download the latest snap of php for windows,replace PEAR/go-pear.phar with the new one in snap , then it's ok!!!

http://snaps.php.net/
下載新版本的snap包就可以了 將pear資料夾下的g0-pear.phar取代掉囉~

2006年12月8日 星期五

手動安裝 Apache Mysql PHP

安裝的版本如下
Apache2.2.3 + PHP 5.2.0 +MySQL 5.0.27
全部是目前各個官網上 最新的Released 版本
一開始先安裝 Mysql5.0.27-win32 的setup.exe
再來換安裝 apache_2.2.3-win32-x86-no_ssl.msi
重點來了 當執行 php-5.2.0-win32-installer.msi
他應該是會設定 apache\conf\httpd.conf
將extension 和 環境設定的數值加上去 如下

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\PHP\"
LoadModule php5_module "C:\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

PS.注意上列的位置所指的是PHP所安裝的位置

可是呢 她有個嚴重的bug 就是當你在PHP的安裝中選擇的是自訂安裝
然後選擇 extension 是全部安裝時 這一段的設定會失敗 Orz....
= =" 這是我經過了數次的安裝測試後發現的
後來只好使用 php-5.2.0-Win32.zip 解壓縮後
直接修改 php\php.ini-recommended 將其內容修正後 另存成 php.ini
而修改的內容為
1. 將 extension_dir = "./" 改成php所在位置下的ext資料夾
如:extension_dir = "C:\php\ext"
2.依自己所需要的將extension啟動
就是將 ;extension=php_gd2.dll 前面的 ' ;' 拿掉
如:
;extension=php_mysql.dll --> extension=php_mysql.dll
這個地方就是搭配mysql時所需啟動的extension

當然也必須要手動去修改 apache下的httpd.conf 囉
最後當然還是要啟動apache時去看看 apache\logs\error.log
及使用 info.php

來看看環境是否完整設定囉~~~~

談談Apache MySql Php的安裝工具在Win32環境

Windows Apache MySql PHP = WAMP ? ( ===> LAMP= Linux Apache MySql Php)
這三個東西 安裝在Windows的環境上 通常有幾種方式可以選擇
一個是選擇 整合軟體 按個安裝 就可以有整個的環境設定
另一個就是獨立分別安裝
以往個人大部分都是選擇整合工作軟體 來安裝設定
因為基本上時間就是金錢
而且架設這個環境最重要的就是要 來寫 PHP
先來講 安裝軟體工具選擇

1.FoxServ
FoxServ 官網
http://sourceforge.net/projects/foxserv/
http://www.foxserv.net/

記得N年前 我是從 FoxServ 開始玩
可惜的是 後來不知道什麼原因 竟然 從2003/01/16 發表 FoxServ 3.1 Beta 1後就銷聲匿跡了
正式released的版本為2.1 竟是2002/02/09 .......... Orz
所以後來我就開始換用其他的工具囉
PS. 其最新版的環境為啥 我也忘記了耶 不過我硬碟裡到是還有安裝檔案 改天有空裝看看 再說囉

推薦指數: *(一顆星) 原因:版本過舊 無更新

2.AppServ
AppServ 官網
http://www.appservnetwork.com/
(相當用心的網站 有支援中文後 不想看原文的人有了多的選擇 請選擇右邊的國旗 或下拉式選單拉!!)

不用FoxServ後,後來就一直使用這個工具還設定我的環境
這個軟體相當貼心 目前的兩個版本分別為 AppServ 2.4.7 and 2.5.7 Released !!
其中最大的差異就是中間那個數字 4 、 5
分別代表 PHP 4.4.4 和 PHP 5.1.6
其規格如下
AppServ 2.4.7
Add MySQL Collation Selection.
Old Password for PHP MySQL Old API Function.
Enable InnoDB.
Setup detect old version and backup it before install new version.

Apache 2.0.59
PHP 4.4.4
MySQL 5.0.24a
phpMyAdmin-2.9.0.2

Download
Sourceforge.net : http://prdownloads.sourceforge.net/appserv/appserv-win32-2.4.7.exe?download
Bittorrent : http://www.appservnetwork.com/torrent/appserv-win32-2.4.7.exe.torrent

MD5SUM : b0e22a4a42e88ebf0a9393c0a6d2943f

AppServ 2.5.7
Add MySQL Collation Selection.
Old Password for PHP MySQL Old API Function.
Enable InnoDB.
Setup detect old version and backup it before install new version.

Apache 2.2.3
PHP 5.1.6
MySQL 5.0.24a
phpMyAdmin-2.9.0.2

Download
Sourceforge.net : http://prdownloads.sourceforge.net/appserv/appserv-win32-2.5.7.exe?download
Bittorrent : http://www.appservnetwork.com/torrent/appserv-win32-2.5.7.exe.torrent

MD5SUM : 0463647eec0e21f2e13075e9be3e4283

推薦指數:****(四顆星) 原因:版本支援度廣 且官方網站相當完善

3.VertrigoServ
Vertrigo官方網站
http://vertrigo.sourceforge.net/index.php
http://sourceforge.net/projects/vertrigo/
這是一套很特別的工具 因為他多了 SQLite、 ZendOptimizer
因為本身的功力不夠 只能告知大家有多了這兩個
無法做太多評論 不過我會努力的
等懂多點再說囉~~
官方的描述:
VertrigoServ has been developed as a highly professional, easy to install package consisting of Apache (HTTP web server), PHP (reflective programming language), MySQL (multithreaded, multi-user, SQL Database Management System), SQLite (ACID-compliant relational database management system), SQLiteManager (multilingual web based tool to manage SQLite database), PhpMyAdmin (tool written in PHP intended to handle the administration of MySQL) and Zend Optimizer (which increases runtime performance up to 40%) for Windows platform. With a convenient all-in-one installer, all components are installed in a single directory and can be used immediately after the installation process has completed. An uninstaller allows you to remove the VertrigoServ from hard disc. It is designed to be as small and flexible as possible and is therefore highly suitable for internet distribution. VertrigoServ is excellent both for beginners and for advanced users.

最新版本為 VertrigoServ2.14 Released date:2006/12/01
VertrigoServ is a complete PHP development and server environment for Windows. It installs Apache 2.x.x, PHP 5.x.x, MySQL 5.x.x, and PhpMyAdmin, both installing and setting up the environment. An uninstaller allows you to remove Vertrigo from hard disc.
= =" 官方的寫法!!

推薦指數:****(四顆星) 原因:也是個用心的軟體 支援及更新相當完善!!

4.EasyPHP
EasyPHP官方網站
http://www.easyphp.org/
這是一套之前很常見的軟體,坊間有不少的書或網站都是建議安裝這套,不過他跟FoxServ一樣,不知如何從2005/03/01後出完1.8的版本後,就沒有下文了,只見官方網站有透露出EasyPHP2的消息,但是卻沒有下載點 我想有可能難產了吧

推薦指數:***(三顆星) 原因:整體而言 小有名氣 可惜的還是後續沒有推廣了!!

關於TVT & GVT

TVT = Translation Verification Test (TVT)

GVT = Globalization Verification Test (GVT)

這兩個名詞是新工作才接觸的東西
接下來的工作內容就跟這兩個有密切的關聯囉~

換工作了~

Tvt application Software Test Engineer
Job Description:
1.Be responsible for the execution of tvt application software/utility verification & qualification
2.Completing hands-on testing and analysis in lab
3.Resolving technical issues with test report creation
4.Communication with cross function team and world wide team to ensure launching projects on time.
Requirements:
1.Has college or equivalent degree in computer related field(Previous Software Testing experience preferred))
2.Strong understanding of PC software ,Extensive Windows experience
3.Strong analytical and problem-solving skills
4.Good communication skill, self-motivated and good team work
5.Sense of ownership
6.Good network knowledge and OS knowledge.
7.Fluent English in Oral/reading/writing
8.Basic Lotus Notes skills
9.High attention to detail

中文職缺為--軟體測試工程師
在南港軟體園區工作
11/20上班
因為是新人 適逢接近聖誕節(外國人的大節日)
所以到目前為止 都還蠻輕鬆的
我想一月份開始 才會正式的工作內容~~

2006年7月19日 星期三

關於電腦資訊領域的專有名詞!!

我想應該有很多人
不論是否為資訊領域的人或者是一般的人
常常會聽到 ADSL 、BLOG、WLAN 、藍芽等聽起來挺專業
但是感覺又似乎跟自己有點相關 又有點模糊的印象
想知道就問問身邊的人 或者 聽聽專家怎麼說
但是卻不是每個都很清楚的告知
ADSL 非對稱數位用戶迴路(Asymmetric Digital Subscriber Line)
我的媽呀多饒舌的名稱阿
通俗白話的說 不過就是 網路 or 寬頻嗎!?
所以呢 通常我都會利用網路這個寶庫所提供的資訊來為自己或為發問人來解決答案
Taiwan Cnet 的字彙寶典
http://taiwan.cnet.com/enterprise/glossary/

這個地方 利用字母排列所有的關鍵字
















讓使用者可以快速搜尋自己要得知的字
而且除了解釋的意思外
還提供相關的新聞

所以如此一來
你還可以藉著看新聞內容 旁敲側擊 徹底了解 大家口中 說來說去的英文簡稱
(嘿嘿 不用在旁邊不懂裝懂 辛苦了半天囉)

about this blog ~~ "NOTE"

活了二十幾年
也將近要三十歲了
不論是在生活或者工作上 可能騙吃騙喝了一段時間
最近突然想要將某些細節記錄下來
或許當作是整理吧
所以呢
不論是 資訊領域或者網路使用 都會寫在這裡面
可能內容會包羅萬象
也可能枯燥乏味
依然記得大學時期的一個學長
很特別的學長 不是體保生卻是有體保生的體能與速度
活躍於運動場上 但是卻有著有別於他粗礦外表的細膩文筆
相當的會寫文章 散文等 簡直是活見鬼了
他告訴我他寫文筆的訓練方法 就是一開始 每天強迫自己寫五百字以上的東西
不論內容是什麼
寫久了 文筆跟內容會有長足的進展
我想 這也不算是東施效顰 我只想寫寫我腦袋瓜裡面 想法~~