Pejslin 的學習筆記
大部分是一些電腦學習或使用心得...
2016年2月4日 星期四
安裝學務系統代理程式 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
成功看到佈告欄了
修改學校網頁開始使用代理程式
2 則留言:
林建雄
2016年2月17日 中午12:47
可以,但要安裝 PHP。
回覆
刪除
回覆
林建雄
2016年2月17日 中午12:53
類似這篇
http://www.askasu.idv.tw/index.php/2011/07/01/1405/
刪除
回覆
回覆
回覆
新增留言
載入更多…
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
可以,但要安裝 PHP。
回覆刪除類似這篇
刪除http://www.askasu.idv.tw/index.php/2011/07/01/1405/