shell方式下如何 呼叫php
找很久都找不到在哪邊
我主要是為了用msn 的外掛機如下
http://www.blobsy.org/downloads/blobsy2rc8.zip // 程式碼
http://www.blobsy.org/Installation/Configuration //config 設定
http://www.blobsy.org/Installation/InstallationGuide //安裝指南
我照上面安裝指南安裝很多次都無法啟動我的msn 不知道有沒有人成功安裝過 , 可以說一下步驟嗎??
我步驟
1 . chmod' the tmp directory to 0777 // 改tmp 為 777
2 . 設定default.conf.php 如下
- 代碼: 選擇全部
<?php
$conf = array (
'username' => "我的msn mail",
'password' => "我msn密碼",
'nick' => "Blobsy 2 BETA",
'psm' => "Release 6",
'psmmedia' => "",
'psmmediatype' => "",
'displaypic' => "dp/blobsy2box.png",
'phpbin' => "php",
'nshandlers' => "LogDebug,LinkFile,UserRelated,Logout,ChatInvite",
'sbhandlers' => "LogDebug,LinkFile,MSNP2P,MessagesPlus,MSNFTP,Broadcasts,Demo",
'handlersdir' => "./handlers",
'priority_ns' => "10",
'priority_sb' => "15",
'msnip' => "messenger.hotmail.com",
'msnport' => "1863",
'msngrversion' => "7.5.0311",
'loginretry_count' => "3",
'loginretry_time' => "120",
'cpusleep_major' => "200000",
'cpusleep_minor' => "10000",
'db' => "mysql",
'dbhost' => "localhost",
'dbuser' => "root",
'dbpass' => "資料庫密碼",
'dbname' => "root"
)
?>
'phpbin' => "php", // 這邊在 debian 我不知道要怎麼設才對
謝謝