安裝學務系統代理程式 agent
- 到網頁目錄解壓縮代理程式
tar zxvf agent.tar.gz 
- 編輯設定檔設定三個變數
vi config.php 
- $Sfs3_IP="http://000.000.000.000"; //學務系統IP
 
- $Sfs3_IP2="https://xxx.xxx.xxx.xxx"; //學務系統URL
 
- $key="*********"; //自訂英數字
 
- 測試
http://學校網址/cnes/agent/board/ 
- 出現 http 500 錯誤
在 config.php 前加 ini_set("display_errors", "On");
出現錯誤訊息
Fatal error: Call to undefined function mb_convert_encoding() in /var/www/html/cnes/agent/common/simple_html_dom.php on line 79 
- 發問後得到解答,少裝了 php-mbstring。
 
- 安裝 php-mbstring
yum install php-mbstring 
- 重啟 httpd
service httpd restart 
- 成功看到佈告欄了
 
- 修改學校網頁開始使用代理程式
 
 
 
 
          
      
 
  
 
 
 
 
 
 
 
 
 
 
 
可以,但要安裝 PHP。
回覆刪除類似這篇
刪除http://www.askasu.idv.tw/index.php/2011/07/01/1405/