卸载Fedora Core附带的默认Apache和PHP
我使用Apache和PHP的自定义编译版本,并想知道如何卸载我的Fedora 13副本附带的默认版本。 这些二进制文件位于/usr/bin而我的编译的二进制文件分别为/usr/local/apache & /usr/local/php 。 作为一个使用PHP的networking服务器,这个设置工作正常,但是当从命令行执行脚本时,除非指定了编译的PHP的绝对path,否则/usr/bin的一个优先于pathsearch顺序中的第一个。 更新 – 卸载日志 [root@dogmatix ~]# which php /usr/bin/php [root@dogmatix ~]# which httpd /usr/sbin/httpd [root@dogmatix ~]# yum erase httpd php Loaded plugins: presto, refresh-packagekit, rhnplugin This system is not registered with RHN. RHN support will be disabled. Setting up Remove Process Resolving Dependencies –> Running transaction check —> Package […]