要在机子上装 nginx+php+myql,想删除自带的apache、php
sudo rm /usr/sbin/apachectl
override rwxr-xr-x root/wheel restricted,compressed for /usr/sbin/apachectl? y
rm: /usr/sbin/apachectl: Operation not permitted
求怎么解决,我是准备用,homebrew 安装 nginx、php
如果不删除自带的 apache、php 对用 homebrew 新安装的 nginx、php 有影响吗?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
不要删除系统自带的,不会影响homebrew安装
你可以设置一下PATH系统变量,把/usr/local的东西放到/usr之前
就算你删除了系统自带的,下次系统升级多半又给你装上了