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

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/feed-rss2.php on line 8
memcache安裝 – unethost無限空間虛擬主機 技術分享部落格 https://blog.unethost.com unethost 專注於提供優質的虛擬主機服務及相關問題解答 Mon, 05 Sep 2016 09:34:10 +0000 zh-TW hourly 1 https://wordpress.org/?v=6.0.8 如何在 centos6 底下 whm/cpanel 裡安裝memcache? https://blog.unethost.com/how_to_install_memcache_at_whm_into_centos6/ Mon, 05 Sep 2016 09:34:10 +0000 http://blog.unethost.com/?p=3947 閱讀全文 如何在 centos6 底下 whm/cpanel 裡安裝memcache?]]> 我們在之前曾介紹過安裝 memcached
這次簡化安裝步驟,重新
記錄一下安裝方式(純文字說明)。

1.登入 whm 後,使用easyapache 開啟memcache。
這時透過 php info 還無法看到memcache被啟動。

2.在 centos shell 底下,執行一行安裝語法:
yum -y install memcached.x86_64 php-pecl-memcache.x86_64

3.回到 whm 裡,software > Module Installers > php pecl > manage
搜索: memcache ,在點下 go ,搜索完成後,在點下 install

4.回到 linux shell 重啟 httpd

驗證方式:

5.透過 shell 語法測試是否有啟動成功: ps -eaf | grep memcached

6.php info 也可以看到 memcache 已被載入中。

 

最後要注意的是,要低一點的apache版本,
才會看到memcache的選項。

 

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

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

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

 

 

 

]]>