我不得不承認在這裏黑暗中摸索。我相當擅長PHP,但我對管理LINUX服務器知之甚少。我需要我的64位的CentOS 6服務器上安裝Memcached和跨兩個非常豐富的資源在CentOS 6上安裝memcached
http://boomshadow.net/tech/installs/how-to-install-memcached/
來到我遵循的步驟expained那裏,memcached的守護進程了,現在我的服務器上運行。我還需要安裝PHP擴展的內存緩存,所以我嘗試的步驟這裏說明
http://boomshadow.net/tech/installs/how-to-install-php-memcache/
這裏的輸出我得到
[[email protected] ~]# pecl install memcache
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update
pecl.php.net" to update
downloading memcache-3.0.8.tgz ...
Starting to download memcache-3.0.8.tgz (70,523 bytes)
.................done: 70,523 bytes
15 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Enable memcache session handler support? [yes] : yes
building in /var/tmp/pear-build-rootZi8fyR/memcache-3.0.8
running: /var/tmp/memcache/configure --enable-memcache-session=yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... no
checking for gcc... no
configure: error: in `/var/tmp/pear-build-rootZi8fyR/memcache-3.0.8':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
ERROR: `/var/tmp/memcache/configure --enable-memcache-session=yes' failed
[[email protected]
我不能讓這個祕密 - 這個最對我來說是希臘語。我想我已經想出了pecl正在尋找一個C編譯器來從下載的源代碼構建PHP memcache驅動程序,並且找不到它。即使這是正確的,它並沒有多大幫助。
在這裏我需要做些什麼來使事情正常工作。