Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24
cpanel – unethost無限空間虛擬主機 技術分享部落格

如何解決whm搬站出現的 mysql error message:Can’t find any matching row in the user table

最近我們在使用whm自動搬機時,發現資料庫會有異常的狀況,
系統會提示出: Can’t find any matching row in the user table
經我們查詢後,發現原來跟 my.cnf的設定檔有關。

閱讀全文 如何解決whm搬站出現的 mysql error message:Can’t find any matching row in the user table

如何在cpanel裡查看虛擬主機的access log

我們曾在”如何查看error log,並大約掌握被駭的狀況” ,教大家使用error,
但是有些駭客動作,確實是在合法連線中進行,這時要反過來查 access log。

今天教大家透過cpanel來下載access log

閱讀全文 如何在cpanel裡查看虛擬主機的access log

如何透過cpanel設定dns轉向

我們曾在”關於網域與dns server(name server) 設定概念”,以及
“免費 dns 代管介紹 (cloudflare的使用)” ,講解其dns作用。

如果今天是把網域的dns server,指向到我們的server,
但又想要增加次網域的A指向到別的主機,這時只要透過cpanel內建的功能就能解決。

閱讀全文 如何透過cpanel設定dns轉向

如何透過cpanel的檔案管理功能,編輯 .htaccess 檔案? (顯示隱藏檔案)

本篇承自上一篇: htaccess 被木馬竄改後,網頁被轉頁
我們記得在之前,可以透過cpanel的檔案管理功能,
去編輯htaccess檔案,但是這次在修改時,竟發生無法看到檔案去編輯的問題,
經我們仔細確認後,發現原來有個細部設定需要打開。

閱讀全文 如何透過cpanel的檔案管理功能,編輯 .htaccess 檔案? (顯示隱藏檔案)

如何透過cpanel安裝ssl,讓網址可以使用https?(測試模式)

ssl_wp

本次教學,是透過cpanel設置網域的ssl,讓網址可以使用https,
但這是自己對自己發送憑證的方式,因為沒有支付額外的授權金,
所以瀏覽器會彈出如上圖的警告訊息。(最後結論有安全性概念)

閱讀全文 如何透過cpanel安裝ssl,讓網址可以使用https?(測試模式)

如何設定 upload_max_filesize 參數

upload_max_filesize_wp

upload_max_filesize 主要是用來控制,
應用程式上傳檔案至主機的參數。

什麼情況下需要調整呢?

當操作php套裝程式時,有時會因為檔案太大,超過上傳限制
而導致無法上傳成功,這時就要修改到 upload_max_filesize 參數。

閱讀全文 如何設定 upload_max_filesize 參數

如何安裝 Cake php (php-framework)

0

特色介紹:
Cake php 是一套架構於php的framework,其特色是:
A.支援MVC.
b.適合於Ruby on Rails的開發。
安裝介紹:
一般而言,安裝 Cake php 有著下列的步驟(需先確定已經安裝好WEB SERVER + PHP + MYSQL 等套件):

閱讀全文 如何安裝 Cake php (php-framework)