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
如何解決執行php出現 Executing in an invalid environment for the supplied user 呢? – unethost無限空間虛擬主機 技術分享部落格

如何解決執行php出現 Executing in an invalid environment for the supplied user 呢?

今日有虛擬主機用戶,使用服務單詢問這個問題,
就是當他的網站一但執行php,就會秀出這個錯誤訊息:
Executing in an invalid environment for the supplied user

<二次測試>
經我們實測,的確只要瀏覽php檔就會異常,
網頁會被轉去一個路逕/cgi-sys/suspendedpage.cgi,
但經我們查看後台,帳號並沒有被cpanel關閉,
另外html的執行就沒問題。

fix_Executing_issue_01

<檢查.htaccess>
我們曾在之前,介紹過幾篇關於.htaccess的問題
因為會被轉址,所以也重新檢查一下/public_html/.htaccess
,不過並沒有發現異常。

<最後查到的問題及解法>
最後發現,因其網址並不是使用我們主機的dns server
而是網域公司代管,並設定Address ip對應,然後對應的IP,
和空間上綁定的ip並不match,變成server這邊無法判定,
只好將他轉址到suspendedpage,重新修正ip對應即可解決。

 

(本篇教學由unethost.com客服撰寫)

延伸閱讀:如何備份Cpanel後台安裝的套裝程式?

安裝上述的軟體,我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。