Ventura 升级后 XAMPP PHP 无法工作

问题描述 投票:0回答:1

XAMPP 8.2.4、Mac OS 13.6.3 Ventura、NetBeans IDE 20

我在 Mac 上使用 XAMPP 进行 html/php/mysql 开发已经很多年了。升级到 Ventura 后,在 Safari 本地主机上找不到测试 php NetBeans 项目。 Html NetBeans 项目在本地主机上显示得很好。

Netbeans 尝试运行 http://localhost/PhpProject2/index.php 并且 Safari 给出:

未找到对象! 在此服务器上找不到所请求的 URL。如果您手动输入 URL,请检查拼写并重试。错误 404

php xampp macos-ventura
1个回答
0
投票

我通过将现有项目移至 /Applications/XAMPP/xamppfiles/htdocs 并将项目属性运行配置更新为 http://localhost/

解决了该问题
© www.soinside.com 2019 - 2024. All rights reserved.