我在Cent OS 5服务器上安装了memcache,我正在遵循本指南> http://www.howtoforge.com/php_memcache_centos5.0
而现在,当我inputphpize && ./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要么没有安装或不在你的path。 你可以运行findphpize? 一旦find,您可以将其添加到您的path,或直接调用它。
添加jasonlitka存储库
安装php-devel:
yum -y install php-devel