Centos5
找不到phpize命令
我正在我的 Cent OS 5 伺服器上安裝 memcache,我正在遵循本指南 > http://www.howtoforge.com/php_memcache_centos5.0
而現在,當我進入時,
phpize && ./configure --enable-memcache && make
伺服器說
phpize: command not found
所以,我嘗試了這個命令
yum -y install php-devel
,以下是來自伺服器的答案Loaded plugins: fastestmirror Repository 'vz-base' is missing name in configuration, using id Repository 'vz-updates' is missing name in configuration, using id Loading mirror speeds from cached hostfile * addons: mirror.5ninesolutions.com * base: mirror.san.fastserv.com * extras: mirror.nwresd.org * rpmforge: apt.sw.be * updates: mirror.5ninesolutions.com Excluding Packages in global exclude list Finished Setting up Install Process No package php-devel available. Nothing to do
所以……有什麼線索嗎?
你在哪里安裝php-devel?預設目錄?似乎 phpize 要麼未安裝,要麼不在您的路徑中。你可以為 phpize 執行 find 嗎?找到後,您可以將其添加到您的路徑中,或直接呼叫它。
安裝 php-devel:
yum -y install php-devel