php - PHP 7.3 在 Mac 上运行但未安装在任何地方
问题描述
当我检查时brew services list
,我看到唯一运行的 PHP 版本是 7.2。
当我这样做时,我会php -v
看到:
WARNING: PHP is not recommended
PHP is included in macOS for compatibility with legacy software.
Future versions of macOS will not include PHP.
PHP 7.3.24-(to be removed in future macOS) (cli) (built: May 8 2021 09:40:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.24, Copyright (c) 1998-2018 Zend Technologies
我跑了locate php
,没有出现 PHP 7.3 的实例供我删除。仅显示 7.2 的目录。
如果我尝试brew remove php
或brew remove php@7.3
然后什么也没有发生。
如何找到这个幻像 PHP 版本并将其从我的计算机中完全删除?
解决方案
推荐阅读
- json - Use tampermonkey to read json answers of a website in realtime (parsing json)
- azure - How to get service principal by client ID in javascript
- ansible - Ansible 打印 SSL 证书过期天数
- visual-studio-code - 仅在本地禁用 VS-Code 中的 Markdown 安全性
- reactjs - Reactjs sweetalert2 将输入置于 html 之上
- python - 如何拟合我的给定数据(不能由 polyvar 完成,模型函数没有帮助?)
- python - 如何修复:email.mime 上的 ModuleNotFoundError
- c# - ImageButton 的源图像奇怪地缩放并且在 xamarin 表单预览器 (Xamarin.Forms) 中的位置错误
- jhipster - 如何防止 JHipster 自动提交到我的 Git 存储库?
- java - 在 JavaFX 中设置 TitledPane 高度